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.

P#14947 2015-10-03 20:46 ( Edited 2015-10-06 23:27)

This is awesome. So many game possibilities!

P#15071 2015-10-06 19:27 ( Edited 2015-10-06 23:27)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-29 08:00:36 | 0.009s | Q:13