HomeStatisticsStatistical Sampling

3D Galton Board: Binomial Converging to Normal

A 3D bean machine: balls fall through rows of pegs, bouncing left or right at random, and pile up into bins that build a bell curve live — the Central Limit Theorem as a physical sum of many independent coin flips.

Statistics3DEasy60 FPS📱 Mobile-adapted⇄ 2D version
3d-statistical-analysis ↗ Open standalone

This is the classic physical embodiment of the Central Limit Theorem, rendered in 3D. Balls drop one at a time onto a triangular lattice of pegs; at each row a ball independently bounces left or right with a chosen probability, and where it lands at the bottom depends on the sum of all those bounces. Unlike directly averaging random samples, this builds a bell curve from an accumulation of many independent binary decisions — watch the growing bin bars trace out a binomial distribution that looks increasingly normal as the number of peg rows increases.

⚙ Under the hood

Simulate a Galton board where each ball's path through pegs determines its landing bin, illustrating probability distribution.

statisticsprobabilitycentral limit theorem

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)