Loading Three-Body Gravity Visual Lab...
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
MathRK4 orbit SVGEnergy driftAngular momentum driftTrajectory CSVJSON receipt
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.