Skip to content

Simulation of particles of random masses, positions and velocities colliding elastically inside a 2D box.

License

Notifications You must be signed in to change notification settings

shubham-93/n-body-collision-sim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

n-body-collision-sim

Simulation of particles of random masses, positions and velocities colliding elastically inside a 2D box.

Use Python classes and matplotlib to make real-time physics simulations. A universal problem in physics is about describing the motion of particles interacting with each other and the environment. These particles can have different properties, like velocity, which change upon interactions. This allows many physics problems to be modelled in an object-oriented framework: the properties become the attributes, and the interactions become the methods.

collision_anim_2

References:

https://en.wikipedia.org/wiki/Elastic_collision

About

Simulation of particles of random masses, positions and velocities colliding elastically inside a 2D box.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages