I made this just to get acquainted with Pico 8. It's a 2D gravitation simulation in a closed domain (the planets bounce off the walls). You can add planets, toggle lines and watch trajectories.
Fun fact: for 2 dimensions, the power law of gravity is actually 1/r. So you won't see closed orbits even with only two bodies.
[Please log in to post a comment]