Many-body acceleration
Every step recomputes all pairwise forces using the new positions.
Gravity · initial conditions
Explore the figure-eight choreography, a rotating Lagrange triangle, or a visitor passing a binary. Nudge one body, replay both trajectories together, and check the numerical record against conserved quantities.
THE TRAJECTORY IS THE DATA
The solid record includes the chosen velocity nudge. The dashed reference uses zero nudge and identical masses. Both start in their own stationary barycentric frame. The separation compares matching body identities at the same recorded time.
Time, distance and mass use normalized units. The plane and rings are coordinate guides. Display size does not represent a physical radius. Energy errors are divided by the magnitude of the initial potential energy; they remain meaningful at zero total energy. Replay never recomputes the trajectory.
Physics tutorial
BackgroundEach of three bodies continuously changes the motion of the other two. The two-body problem reduces to one relative coordinate; a general three-body system does not fully decouple.
Why it mattersIt explains why long-term solar-system stability, stellar systems, and space missions rely on numerical integration rather than one closed formula.
Start with the essentials
Every step recomputes all pairwise forces using the new positions.
Internal gravity cancels in pairs, so an isolated center of mass moves uniformly.
Typical misconceptionWithout a formula, three-body motion cannot be predicted.
Better mental modelNumerical integration predicts finite intervals accurately; what is missing is one simple expression for arbitrary initial states.
Typical misconceptionIrregular paths imply energy or momentum is not conserved.
Better mental modelChaotic paths remain constrained by invariants; conservation does not imply periodicity.
Choose Figure-eight and enable trails.
What to observe: Three equal masses follow one closed curve in sequence.Choose Nudge the triangle, change the velocity nudge and launch again; compare solid and dashed paths.
What to observe: Separation varies with time. Finite-time growth alone does not prove chaos; perturbations near a stable orbit can stay bounded.Inspect the white barycentre cross and the energy, momentum and angular-momentum records.
What to observe: Motion is complex while global invariants stay nearly stable.