This is a demo of my spherical physics engine that I wrote for a different project in mind. You can select the number of spheres and their delay time to appear. The spheres will fall from top to bottom (no acceleration - imagine a highly viscouos fluid) and then roll as soon as they hit the wall or another sphere. I do not consider mass in this simulation, i.e. larger spheres will not push smaller ones aside.
Thanks to the generations of mathematicians who developed the concepts of analytical geometry and vector algebra.