3 ms·
It seems surprisingly easy to make stable orbits in this simulation. I once made a solar system simulator a long time ago (in VB6 of all things) but when I plac
by spuz 4y ago
It seems surprisingly easy to make stable orbits in this simulation. I once made a solar system simulator a long time ago (in VB6 of all things) but when I placed a large mass in a similar orbit to a small mass, the small mass would often get ejected out the system. Here that doesn't seem to happen very easily. I used simple newton integration so my sim wasn't very accurate but I wonder if there's more to it than that.
- salty_biscuits 4y agoGenerally the trick is regularise the inverse square law so that below a certain radius the force clips and stops things pinging off to infinity.