Skip to tool

NEWTONIAN THREE-BODY FORMULA VISUAL

Three-Body Gravity Visual Lab

Simulate the Newtonian three-body problem with exact acceleration, energy and angular momentum formulas, RK4 integration, SVG orbit map, trajectory CSV, invariant CSV, Markdown notes and JSON receipt.

Reviewed 2026-06-28

Math
RK4 orbit SVGEnergy driftAngular momentum driftTrajectory CSVJSON receipt

Loading Three-Body Gravity Visual Lab...

FORMULA CONTRACT

Exact model, measured numerical error.

The acceleration equation is a_i = G * sum m_j(r_j-r_i) / (|r_j-r_i|^2 + eps^2)^(3/2). The lab also computes total energy and angular momentum drift so the visual orbit has an integrity score.