Home▸Probability & Statistics▸Reservoir Sampling: 2D Stream Sampler

Reservoir Sampling: 2D Stream Sampler

2D animation of reservoir sampling (Algorithm R) with a uniformity check over thousands of runs.

Probability & Statistics2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-reservoir-sampling ↗ Open standalone

2D animation of reservoir sampling (Algorithm R) with a uniformity check over thousands of runs.

⚙ Under the hood

2D animation of reservoir sampling (Algorithm R) with a uniformity check over thousands of runs.

reservoir samplingstreamingprobability

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)