Visual proof that each number in Pascal's Triangle represents the number of paths to that location
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
alternatives
img
src
.DS_Store
.gitignore
LICENSE
README.md
demo.html
galton.css
galton.js

README.md

Pascals Triangle as a Galton Board

Visual proof that each number in Pascal's Triangle represents the number of paths to that location, using a model of a Galton Board or "bean machine" to demonstrate. See a discussion and demonstration in this Mechanical Scribe post.

Usage

Just open demo.html. You don't even need to run a server! Then hit "Start."

Parameter

Too slow? You can set the parameters here and reduce the timing of the ball drops or randomize the order of the paths.