Skip to content

Latest commit

 

History

66 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeQL Badge

Gravity Simulator

Simulates the interaction of round entities on a 2D plane, implementing collision and gravitational physics. NumPy is used for vector and math calculations, Tkinter is used for the GUI.

Check out the Youtube Demo!

Also, there is a web version of this project. You can try the Web version, or view the source code of the web version at https://gecitemre.github.io/web-gravity/

Usage

To run the simulator, run gravity.py with python. After running the program, Left click to create new planet, press to hold a planet, right click to delete planet, scroll when your cursor is on a planet to feed or shrink a planet.

About

python - numpy gravity simulation

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages