Nice simple simulation – Gauss normal distribution.

Took me 10  minutes in Unity3D. You put pegs on the slope floor (ctrl+C). Then just generate balls and send them down one by one. Balls are rolling around and end up in the compartments as they would in the real world.
You don’t even need one line of code! Just add laws of physics to an object (ball is in the gravitational field and has weight…). Everything works like in real world. It’s computing in real time for both eyes – left and right – almost in Full HD (60 FPS). Notice the shadows!
The result = Balls should be distributed into well-known Gauss Curve in Virtual Reality.
To get smoother result, we need to optimise elasticity and friction. Balls are currently too slippy and jumpy.

Virtual reality & augmented reality | IoT