Gyula Rabai

Physics Simulation of the Gravity Forces Effecting Planetary Motion

This is a physics simulation of the gravity forces effecting planetary motion written in Python. The circles displayed on the screen represent stars and planets; the area of a circle represents its mass and therefore its gravitational attraction. The stars and planets attract each other and if they collide, their mass is combined. The simulation allows for the user to create new planets, give them initial velocities (WASD), create stars with fixed positions and large initial masses, and increase or decrease the speed of the simulation.

Download

Download (Source): Gravity-Simulator.zip

Github respository

https://github.com/mrgyularabai/Gravity-Simulator

Screenshot

Figure 1 - Gravity Simulator

Video

More information


Projects | Books | Printouts | On-line lectures | Presentations