This is meant to be a easy to use n body gravity sim. All the setup is in the Stage, so you can add objects with the exact parameters you want. You can also change the Gravitational constant to whatever you want for the simulation. Controls are WASD if Follow ID is set to 0, otherwise the camera follows the object with that ID QE to zoom in and out. 1 and 3 to control time.
X Marks the Barycenter. The simulation will break (Planets or moons flung out into empty space) if time is speed up too much, so just be careful with how fast you run the simulation. The slower the simulation the more accurate. Update 4/6/2026 - fixed orbital drift over time, improved efficiency when dealing with massless objects