A very simple solar system simulation.

  • Left/right: Adjust date
  • Up/down: Adjust zoom

Uses orbital elements from NASA JPL Solar System Dynamics Group.

Published 52 days ago
StatusReleased
PlatformsHTML5
Rating
(1)
AuthorJames McNeill
GenreSimulation
Made withPICO-8
TagsPhysics, PICO-8, Space, Space Sim

Development log

Comments

Log in with itch.io to leave a comment.

Nice little thing that would be real cool to have as a watch.

Minor bug: There's a year 0 JAN 0 but year 0 JAN 1 should jump to year -1 DEC 31

(Edited 2 times)

Ah, good point. I collected a whole bunch of Julian-day-number-to-date conversion functions off the internet and then ended up having to write my own from scratch because they all relied on 32-bit integer arithmetic. I imagine there are probably other problems with my converter as well. For instance, the Gregorian calendar started in the 1500s; before that it was the Julian calendar, which differed by a couple of days at the 1AD mark. Probably better to use the Gregorian to go back in time, though, because it matches the solar year better.

Also the planet positions are unlikely to be accurate more than a few hundred years out. Mercury, in particular, has a large first derivative on its orbital elements. It would be fairly easy to add the first derivatives of the orbital elements in; JPL provides those.