Solar System: Updated with an N-Body Physics Model

Throwing my hat in the ring for a Three.js solar system. Pretty simple scene, so I’d appreciate any feedback.

Demo Here

Planets are 10 times larger than they should be. This was done because it helps reduce the orbit lines shaking around too much. ¯_(ツ)_/¯

Time is scaled by 100x (faster). Maybe wait 3.65 days and Earth will do a full orbit

I think it’s decently accurate, loading the planet data and then solving the n-body simulation with a rk4 propagation model.


Also - another space model I’ve been working on…
Demo2 Here

4 Likes

This simulation is inaccurate. Don’t believe me? See you in a few hundred million years! (or if another body introduce itself)

1 Like

lol - you had me going for a second :laughing:

1 Like

Added it to GitHub in case anyone wants to see how Python gets the data

1 Like

This is quite lovely. Very cool.

1 Like