Comet at perihelion

2D twin of the 3D page: the same Kepler solver and tail models seen face-on, with the nucleus close-up in the corner.

Switch to 3D

Presets

Playback

Orbit

Presets load real comets (Halley, Encke, 67P); the sliders change the orbit.

View

Model checks

The science

Position follows Kepler's equation, solved by Newton iteration each frame:

M = n t,  n = 2π/T,  T = a^1.5 yr  (GM☉ = 4π² AU³/yr²)
M = E − e sin E
r = a (1 − e cos E),  a = q/(1 − e)
v² = GM (2/r − 1/a)           (vis-viva)
dA/dt = ½ r² dν/dt = ½ n a b   (equal areas)

Ion tail. Ions are swept by the solar wind (about 400 km/s). In the comet's frame the wind arrives from the direction 400·r̂ − vcomet, so the tail is not exactly anti-sunward but tilted by atan(v⊥/400) (the aberration angle shown above).

Dust tail. Each grain is released from the nucleus at an earlier time with the comet's own velocity, then flies under the Sun's gravity reduced by radiation pressure, GM(1 − β) (leapfrog integration, β = Frad/Fgrav from about 0.05 to 0.9 for big and small grains). Small grains (large β) form the straight edge, big grains lag and curve, which is the real "syndyne" picture.

Honest simplifications. Pure two-body motion (no planets, no non-gravitational jet forces, which shift real comet timing by days). Outgassing uses the water-ice scaling Q ∝ r⁻² and is shown as a relative number; tail lengths and the grain release rate are illustrative, not fitted. The nucleus (real size 1 to 20 km) and the Sun are drawn about a million times too large so you can see them; the probe in the inset is not to scale either. The solver, equal-area law and an independent RK4 integration are verified with the button above.

What to try
  • Pick Halley and switch off the perihelion zoom: the comet crawls through the outer system and sweeps the same area per unit time as it does racing past the Sun (turn on the second wedge to compare the two equal-time areas).
  • Pick Encke and watch the ion tail swing: it points almost directly away from the Sun, tilted by the aberration angle that the solar wind (400 km/s) and the comet speed set.
  • Raise the outgassing strength: the coma and both tails grow, the outgassing graph follows an inverse-square law with distance.
Distance from the Sun through one orbit
Speed through one orbit (vis-viva)
Areal velocity: measured against theory
Relative outgassing against distance
Made with 🟠 Blender