Presets
Playback
Parameters
Changing mass or eccentricity restarts the system.
Moon in focus
Or click a moon in the scene.
Camera
Quality
Layers
Model checks
The science
Kepler and the gas giant
A moon far lighter than its planet moves on a conic section around the planet's centre. For a bound orbit of semi-major axis a the period is T = 2π√(a3/GM) (Kepler's third law), the speed follows the vis-viva equation v2 = GM(2/r − 1/a), and the areal rate dA/dt = h/2 is constant (second law). The page integrates the planetocentric equations of motion with a symplectic leapfrog (kick-drift-kick) scheme, sub-stepped to 1/500 of the innermost period, which keeps energy and angular momentum bounded.
Moon-moon gravity and resonance
With the switch on, each moon also feels the other moons: ai = −GM(1+μi) ri/ri3 + Σj GMμj [ (rj−ri)/|rj−ri|3 − rj/rj3 ], where the second term inside the bracket is the indirect term of planet-centred coordinates and μ is the moon-to-planet mass ratio. Io, Europa and Ganymede sit in a 1:2:4 Laplace resonance: the mean motions satisfy n1 − 3n2 + 2n3 = 0 and the Laplace angle φ = λ1 − 3λ2 + 2λ3 librates about 180°. Pure Kepler orbits give a small non-zero combination (of order 0.05-0.1°/day); the real planet's oblateness (J2) shifts the mean motions by a similar amount, which is why the real resonance is exact.
Hill sphere, Roche limit, tides
A planet of mass Mp at distance ap from a star of mass M* controls moons only inside its Hill radius RH = ap(Mp/3M*)1/3; prograde moons are typically stable out to about RH/2. A fluid moon is torn apart inside the Roche limit d = 2.44 Rp(ρp/ρm)1/3. Tidal dissipation in a synchronously rotating moon follows Peale's formula P = (21/2)(k2/Q) G Mp2 Rm5 n e2 / a6.
Honest simplifications: the dynamics are planar (inclinations are not simulated); the planet is a point mass with no J2; the star is not integrated (it only enters the Hill radius); moon-moon gravity is softened at 500 km. The tidal constant k2/Q = 0.015 is an illustrative value tuned so the Io-like case lands near the observed order of magnitude (about 1014 W); real k2 and Q are poorly known, and the eccentricity used is the orbit-averaged osculating value. Moon radii and masses are typical published values and should be spot-checked before citing. Moons are drawn enlarged; distances are true.
What to try
- Choose Jupiter + Galilean moons and compare the four periods with the Kepler line on the first graph; the white rings mark the observed periods.
- Raise Moon masses to 15x and watch the Laplace angle and the x(t) curves drift as the moons tug on each other.
- Pick Eccentric tidal heater: the tidal bar jumps by two orders of magnitude because heating scales with e squared.
- On Hot super-Jupiter the outer moon lies beyond the green half-Hill ring: the model would not keep it in a real system.
- Press Follow moon in the camera list and watch the planet's bands rotate while the moon keeps one face toward it.