Log In  
Log In  

Cart [#51245#] | 2018-04-03 | License: CC4-BY-NC-SA | Embed
5

Super simple solar system. Left/right to adjust time, up/down to adjust zoom.

This is a port of an orrery I wrote in C++ back in 2003 or so. It was fun trying to cram it into the Pico-8, with its limited numeric precision.

Printing the date proved to be more of a challenge than just about anything else. I haven't tried to write the reverse function yet (year/month/day to Julian day number) so the cartridge just starts up somewhere near the beginning of the current year.

Not recommended to plan horoscopes or Mars missions with this thing, but compare it with https://ssd.jpl.nasa.gov/?ss_inner or https://ssd.jpl.nasa.gov/?ss_outer, which is where I got the orbital elements from.

Putting a Lambert solver in so you could plan Mars missions (despite what I just said) would be a fun next step.

P#51247 2018-04-03 08:22 ( Edited 2018-04-10 05:03)

This is cool :)

P#51248 2018-04-03 08:56 ( Edited 2018-04-03 12:56)
:: mcneja

Thanks!

P#51257 2018-04-03 11:33 ( Edited 2018-04-03 15:33)

Very cool - love seeing stuff like this! :D

P#51293 2018-04-04 08:01 ( Edited 2018-04-04 12:01)

I love this, super nifty.

P#51371 2018-04-06 14:15 ( Edited 2018-04-06 18:15)

Good stuff... I did a few orbital mechanics games in the past (one of them was my first Pico-8 project) but was always too lazy to use actual data about our solar system.
Could form the basis for a neat interplanetary game in "The Expanse" universe (I'm not going to do it though ;-)

P#51478 2018-04-10 01:03 ( Edited 2018-04-10 05:03)

[Please log in to post a comment]

X
About | Contact | Updates | Terms of Use
Follow Lexaloffle:        
Generated 2018-12-12 13:49 | 0.020s | 4194k | Q:28