Skip to content

pcaro90/pyCollisions2D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

pyCollisions2D

This is a tiny project I did, just because I wanted to fully understand elastic collisions with different mass objects. I also like to see stuff colliding. I wanted to finish it ASAP, so I did it using Python and PyGame. You'll need both to execute it.

Colliding stuff

The particles collide elastically (the kinetic energy before the collision is the very same that after the collision) in a 2D world.

Particles have different masses: the darker a particle is, the heavier it is; so black particles will be very hard to move, while white particles will bounce around a lot.

License

Copyright (c) 2014 Pablo Caro. All Rights Reserved.

Pablo Caro <me@pcaro.es> - http://pcaro.es/

See LICENSE file.

About

Python+PyGame elastic collisions simulator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages