Gravitational three-body simulation with adjustable masses and chaotic trajectories
Simulates three gravitationally interacting bodies using a fourth-order Runge-Kutta integrator. The masses, initial conditions, and simulation speed are adjustable via the GUI, and each body leaves a colored trail showing its trajectory. The system exhibits chaotic sensitivity to initial conditions.
Controls: Click and drag to orbit, scroll to zoom.