Three-body gravitational simulation with collision detection and chaotic trajectory trails
Simulates three gravitationally interacting bodies with Runge-Kutta integration. Like the accelerator variant, this version features adjustable masses and a speed slider, with collision detection halting the simulation if bodies get too close. Each body draws a colored trail revealing the chaotic dynamics.
Controls: Click and drag to orbit, scroll to zoom.