Launching the comet…
☄️ Comet orbit
By Kepler's second law the comet sweeps equal areas in equal times: it races past the Sun at perihelion and crawls near aphelion. The ion tail always points away from the Sun; the dust tail curves behind the orbit.
Distance from the Sun: 0.00 AU
Orbital speed: 0.0 km/s
Phase: perihelion
Orbital period: 0 yr · elapsed 0.0 yr
Outgassing (relative to 1 AU): 0%
The science

Orbit. The semi-major axis is fixed at a = 8.5 AU (like a long-period comet; Halley has 17.8 AU). The Sun sits at one focus: r = a(1−e²)/(1+e cosν), perihelion q = a(1−e), aphelion Q = a(1+e). Position in time comes from Kepler's equation M = E − e sin E with M = n t, n = 2π/T and T = a3/2 years (Kepler's third law with the Sun's mass), solved by Newton iteration — exact for any time step, so there is no integration error however fast the comet moves.

Speed. Vis-viva: v = v⊕ √(2/r − 1/a) with v⊕ = 29.78 km/s (Earth's circular speed at 1 AU). Angular momentum r²ν̇ is constant, which is the equal-area law.

Tails. Gas (ion) tail: ionised gas is swept straight away from the Sun by the solar wind. Dust tail: each grain feels gravity reduced by radiation pressure, a = −GM(1−β)r̂/r², β between 0.05 and 0.8 for different grain sizes, so grains follow their own Kepler-like paths and fan out into a curved tail. Both are integrated as particles (leapfrog) with GM = 4π² AU³/yr².

Honest simplifications. The Sun, nucleus and planets are drawn far larger than to scale (a real nucleus is a few km across). Tail speeds and lengths are stylised and shorter than real ones, and outgassing is modelled as ∝ r−2 only (real activity depends on volatiles and varies with season). Only the Sun's gravity acts (no planetary perturbations, no non-gravitational forces). Earth and Jupiter move on circular orbits for scale. Textures and models were built in Blender; the dust and ion particles are a simple point sprite system.

Independent checks (run on load in your browser):

running…
Drag: orbit · Wheel / pinch: zoom · Change e and time speed
Made with 🟠 Blender · Three.js