This is a demo showcasing the simulation of two rigid balls in a closed environment with their mass and velocity input by the user. It mainly simulates collision, loss of kinetic energy, loss of rotational energy, friction, gravity and air resistance.
debalin / ball-physics Goto Github PK
View Code? Open in Web Editor NEWA demo showcasing the simulation of two rigid balls in a closed environment with their mass and velocity input by the user.