Log In  


Cart #14948 | 2015-10-04 | Code ▽ | Embed ▽ | No License
1

Hi all

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.

1


This is awesome. So many game possibilities!



[Please log in to post a comment]