RepositoryC++
wkjarosz

wkjarosz/SamplinSafari

Samplin' Safari is a research tool to visualize and interactively inspect high-dimensional (quasi) Monte Carlo samplers.

163stars
14forks
1issues
3views

Samplin' Safari

macOS build Linux build Windows build Emscripten build

Samplin' Safari is a research tool to visualize and interactively inspect high-dimensional (quasi) Monte Carlo samplers.

It was initially developed as part of the publication:

Orthogonal Array Sampling for Monte Carlo Rendering
Wojciech Jarosz, Afnan Enayet, Andrew Kensler, Charlie Kilpatrick, Per Christensen
In Computer Graphics Forum (Proceedings of EGSR), 38(4), July 2019
Project page PDF

and now released under the 3-clause BSD license. For details, see the LICENSE file.

Screenshots

Samplin' Safari running inside a web browser on an iPad (left), and in portrait orientation on an iPhone (right). Click the image to try it in a browser yourself:
screenshot1
Viewing all 2D projections of a 6D point set:
screenshot2
Viewing the 3rd, 5th, and 6th dimenions of a 6D point set in 3D with a beautifully antialiased tri-planar grid:
screenshot3
Visualizing the point indices, coordinates, and drawing a custom elementary interval grid to validate the stratification of the point set:
screenshot4

Features

  • interactively switching samplers, setting number of samples, dimensions, and various sampler parameters
  • 3D and 2D orthographic views for X, Y and Z dimensions
  • view of all 2D projections (useful for high-dimensional samples)
  • show 1D projections of points alongside the 2D or 3D view
  • custom mapping of any (higher) dimensions to X, Y or Z
  • save all of these views as vector EPS or SVG files
  • save and load points to/from CSV text files
  • show point index and point coordinates
  • show beautifully antialiased grids for various stratification levels
  • displaying only a subset of points, either by subsetting on sample index, or sample coordinates.

Running Samplin' Safari

The easiest way to try out Samplin' Safari is to load up the web version by following this link.

Alternatively, you can check out the latest release for precompiled binaries for various platforms.

Building

Assuming you have CMake and a C++17 toolchain, compiling should be as simple as (dependencies are automatically downloaded via CPM.cmake so you will need an active internet connection during cmake configure):

git clone https://github.com/wkjarosz/SamplinSafari.git
cd SamplinSafari
mkdir build
cd build
cmake ../
cmake --build . -j 4

Acknowledgements

Samplin' Safari was primarily developed by Wojciech Jarosz though it depends on a number of external libraries and techniques, as listed on the in-app about dialog.

Similar Projects

Discover other similar projects and AI models.

RepositoryC++
kbladin/Monte_Carlo_Ray_Tracer

A program with an implemented Monte Carlo Ray Tracer algorithm for global illumination of a virtual 3D scene.

147
Feb 25, 2019
RepositoryFortran
cdslaborg/paramonte

ParaMonte: Parallel Monte Carlo and Machine Learning Library for Python, MATLAB, Fortran, C++, C.

307
Nov 20, 2026
RepositoryPython
QMCSoftware/qmcpy

Quasi-Monte Carlo point generators, automatic transformations, and adaptive stopping criteria

98
Nov 30, 2026
RepositoryJulia
JuliaMath/Sobol.jl

generation of Sobol low-discrepancy sequence (LDS) for the Julia language

84
Apr 23, 2026
RepositoryC++
taichi-dev/taichi

Productive, portable, and performant GPU programming in Python.

28.5k
Oct 5, 2026
Modelsentence-similarity
sentence-transformers/all-MiniLM-L6-v2

all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...

♥0
157.6M
Jun 1, 2026
RepositoryC++
blender/blender

Official mirror of Blender

22.9k
Dec 1, 2026
RepositoryC++
isl-org/Open3D

Open3D: A Modern Library for 3D Data Processing

14.3k
Nov 14, 2026
RepositoryC++
ssloy/tinyraytracer

A brief computer graphics / rendering course

5.4k
Jul 7, 2023