
Studying the pseudo random number generation with a particle simulation of the binomial distribution using a Galton’s board in Double LORES.
More information: https://8bitshack.org/post/marcdemo/
The simulator uses 96 single “particles” that are kept in constant movement following a pseudo-gravitational force which makes them move through the board.
This simulation also demonstrates some of the capabilities of the DoLORES-library project.When a simulation run is finished “Gravitation” can be reversed forcing the particles to move back upwards allowing a restart of the simulation.
Movement behaviour of the particles is chosen by using a pseudo random number generator in a three phase state machine for simulating the gravitational force (a very simple physics engine here).Press “R” to reverse gravitational force, “P” to toggle the particle port open or closed and “Q” to quit the simulation.
https://www.facebook.com/1025671367/videos/10221005984592402/