Skip to content

saltensity/elasticCollisions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

elasticCollisions

This project is a very simple physics simulation involving balls! It simulates the elastic collisions between balls, using the laws of Conservation of Momentum and Conservation of Kinetic Energy.

How to play with this simulation:

  • Start the simulation with the "Start" Button
  • Stop simulation with "Stop"
  • Step through the simulation one at a time with "Step"
  • Reset the simulation with "Reset"
  • "Kick" the balls with 'Kick' (this just induces a force vector on all balls)

Change the number of balls with the slider. Oh, and the balls do not like moving mouses. Have fun!! :)

Releases

No releases published

Packages

No packages published