Home▸Probability & Statistics▸Galton Board Bias Lab: Binomial Pegs, Chi-Square Fit and the Central Limit Theorem, 3D

Galton Board Bias Lab: Binomial Pegs, Chi-Square Fit and the Central Limit Theorem, 3D

Drop marbles through a Blender-built bean machine. At every peg a marble goes right with probability p, so the bin it lands in is Binomial(n, p). Change the number of rows, the bias, the release rate and the slow-motion factor, and watch the histogram grow towards the binomial and normal curves while live mean, variance and chi-square fit statistics are compared with n p, n p (1 - p) and the exact distribution. Independent numerical checks include a brute-force enumeration of all paths, a Monte Carlo run and a Berry-Esseen bound.

Probability & Statistics3DEasy60 FPS📱 Mobile-adapted🟠 Blender⇄ 2D version
Galton Board Bias Lab: Binomial Pegs, Chi-Square Fit and the Central Limit Theorem, 3D ↗ Open standalone

Drop marbles through a Blender-built bean machine. At every peg a marble goes right with probability p, so the bin it lands in is Binomial(n, p). Change the number of rows, the bias, the release rate and the slow-motion factor, and watch the histogram grow towards the binomial and normal curves while live mean, variance and chi-square fit statistics are compared with n p, n p (1 - p) and the exact distribution. Independent numerical checks include a brute-force enumeration of all paths, a Monte Carlo run and a Berry-Esseen bound.

⚙ Under the hood

Drop marbles through a Blender-built bean machine. At every peg a marble goes right with probability p, so the bin it lands in is Binomial(n, p). Change the number of rows, the bias, the release rate and the slow-motion factor, and watch the histogram grow towards the binomial and normal curves while live mean, variance and chi-square fit statistics are compared with n p, n p (1 - p) and the exact distribution. Independent numerical checks include a brute-force enumeration of all paths, a Monte Carlo run and a Berry-Esseen bound.

Galton BoardBinomial DistributionCentral Limit TheoremChi-Square TestProbabilityBean Machine

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

What did you find?

Add reproduction steps (optional)