ORBITAL LABORATORY

A central mass with a station, a moon and an asteroid belt, all on Kepler orbits: inner bodies circle faster, outer bodies slower. Drag to rotate, wheel to zoom.

checking...
Lighting & Appearance
The science

Each body feels only the central mass: a = GM / r2. For a circular orbit this gives the angular rate w = sqrt(GM / r3), speed v = sqrt(GM / r) and period T = 2 pi sqrt(r3 / GM), so T2 / r3 = 4 pi2 / GM is the same for every body (Kepler's third law). Doubling the central mass shortens every period by 1/sqrt(2).

The check box integrates the moon with a leapfrog (kick-drift-kick) scheme in 2D and compares the measured period with the formula. The graph plots T2 against r3: all bodies lie on one straight line whose slope is 4 pi2 / GM.

Simplifications: orbits are circular and coplanar, bodies do not attract each other, asteroids are test particles, and distances and times are in abstract scene units (not kilometres or days). Brightness, shadows and colours are cosmetic.