Comment

Comment by cnity

If you fancy the dopamine, I made a similar simulator with a randomize button which runs at a faster rate: https://crwi.uk/apps/three-body-problem/

It doesn't have proper collision detection, so the bodies sometimes spin off at a fast rate (division by a very low number). The code is available in Clojure and IMHO is quite beautiful.

parent cnity 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton