Galton Box Simulator
28 Feb 2014Here’s one of our first experiment with a physics library: we used the Box2D library for Processing to recreate a physics simulation.
Taking inspiration from the work of Sir Francis Galton, and thanks to what we have learned from “The Nature of Code” book from Daniel Shiffman, we have recreated the Bean Machine in code!
If you don’t know what a Bean Machine is, take a look at this Wikipedia page!
Honestly we created this sketch also to see if the balls would have been arranged in a normal distribution way :P
Downloads
You can download the source code from our GitHub page.