Notes re: Multi-body problems on "Show HN: Browser-based interactive 3D Three-Body problem simulator" (2025)
https://news.ycombinator.com/item?id=45981336 which has Velocity Verlet integration method, 4th-order Runge-Kutta (RK4), and Kepler solvers
Very cool! Interesting how the choice of solver affects the solution. Euler doesn't handle misbehaved equations very well. You can see this in the Helix setup where the bodies just fly off.
20 comments
- would be nice if someone at this point actually made a tutorial on how to go about making one from scratch with threejs