/gravity-sim

Basic script for simulating Newtonian-celestial bodies using Pygame

Primary LanguagePython

Run:

./main.py

The left/right arrow keys are used to scale down/up time

The down/up arrow keys are used to scale down/up distance

GIF