Set the total number of colliding bodies in the system with the slider and press the Green Flag.
I did this project to remind myself some fundamental principles of physics I used to know. The project attempts to simulate a closed system of particles of various sizes interacting under the principles of "conservation of momentum" and "conservation of kinetic energy". The collisions are meant to be elastic, meaning there is no energy loss when the particles bounce.