Skip to content

This is a simulation where you can throw a ball around different objects with realistic physics, all thanks to a Python module called "Pymunk". Pymunk can be integrated with Pygame (like in this case), which takes care of all the visuals whilst Pymunk takes care of the calculations. Everything can be changed as you like: gravity, mass, elasticit…

Notifications You must be signed in to change notification settings

deniscraciungabriel/realisticPhysics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

realisticPhysics

This is a simulation where you can throw a ball around different objects with realistic physics, all thanks to a Python module called "Pymunk". Pymunk can be integrated with Pygame (like in this case), which takes care of all the visuals whilst Pymunk takes care of the calculations. Everything can be changed as you like: gravity, mass, elasticity, friction, colors. The module takes care of the harder maths, but ball trajectory and everything else is done by hand as you can see from the GitHub repository of this project. Of course Pymunk and Pygame are required for this project to run.

About

This is a simulation where you can throw a ball around different objects with realistic physics, all thanks to a Python module called "Pymunk". Pymunk can be integrated with Pygame (like in this case), which takes care of all the visuals whilst Pymunk takes care of the calculations. Everything can be changed as you like: gravity, mass, elasticit…

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages