Galton Board

Left or right at every peg: compare the growing pile with its predicted shape.

012345678

0 landed · 0 falling

Bins count right turns; bar heights show fractions. Dashed line: theory.

An educational simplified model: each turn is independent. This is a probability model, not a physical simulation of collisions or speed. Visible balls are counted when they land. Batches animate up to 48 balls, then add the remaining samples in bulk.

Counts by bin
  • 0: 0 / 0 (theory 0.4%)
  • 1: 0 / 0 (theory 3.1%)
  • 2: 0 / 0 (theory 10.9%)
  • 3: 0 / 0 (theory 21.9%)
  • 4: 0 / 0 (theory 27.3%)
  • 5: 0 / 0 (theory 21.9%)
  • 6: 0 / 0 (theory 10.9%)
  • 7: 0 / 0 (theory 3.1%)
  • 8: 0 / 0 (theory 0.4%)

How to play

Try once to follow a ball’s path. Adjust the rows, batch size, and chance of going right, then run a batch. Bars show observed fractions; the dashed line shows theory. Changing rows or probability resets the results.

Learn more

An educational simplified model: each turn is independent. This is a probability model, not a physical simulation of collisions or speed. Visible balls are counted when they land. Batches animate up to 48 balls, then add the remaining samples in bulk.

Read more about it: The story of the Galton board →