Super Planet Crash – A game of gravity
stefanom.org
stefanom.org
I had an idea to build something very similar a couple of years ago, but didn't have the skills/time for it.
What I built ended up being quite visually simple (, pragmatic,), but it's cool in that you can control some of the parameters of the differential equation solver to trade off between speed and accuracy. Mine also shows you where the bodies will go in the future, rather than just a trail of where they have been. And you can click and drag to add a planet with initial velocity and see how the entire system will react immediately and interactively.
I also implemented collision with conservation of momentum (the displayed body radius is much larger than the simulated radius).
Example here, from the Star Trek pilot: https://api.time.com/wp-content/uploads/2016/09/star-trek-pi...
If you have enough zoom, you can place the camera far enough and take such a photo of our moon. With a large telescope, I guess you can even do the same thing with Venus (on a very clear afternoon). So this is by no means "impossible", this is already the planet that we live in!
Second attempt is racking up around 600k/50 years and it's a dwarf star binary.
Putting dwarf stars on the outside produces some rather fun and funky orbits, though :)
EDIT: and I managed to accidentally (and disappointingly) produce a stable one with a far-orbiting dwarf star; 12,122,408 points at 1101.1 years.
15.9 million point and 1000 years with a Dwarf at 0.1 AU and an Earth at 1.5 AU.
Awesome otherwise.