Every body attracts every other body with Newton's law F = G·m₁·m₂ / r². Positions and velocities are advanced with a symplectic leapfrog (kick-drift-kick) integrator in AU, days and solar masses, so energy stays conserved over long runs. Nothing is scripted: planets and moons only follow gravity from their starting conditions (real masses, distances, eccentricities, inclinations).
Planets and the Sun are drawn far larger than real, and moon orbits are spread out (slider) so they remain visible. This only affects rendering — the physics uses true distances. Collisions are detected at physical radii and merge bodies, conserving momentum.
Space pause · +/− speed · L launch mode · T trails · N labels · F follow selected · Esc deselect · ? this help