Comet Orbit (2D)
Top-down 2D companion to the 3D comet orbit simulator: an exact Kepler-equation ellipse with an adjustable eccentricity, and a particle-based ion + dust tail that always streams away from the Sun no matter which way the comet is moving.
This top-down companion to the 3D comet orbit simulator strips the same real orbital mechanics down to a flat plane: a highly eccentric Kepler ellipse whose swept area stays exactly constant per unit time, with speed that visibly surges near perihelion and eases off near aphelion under the vis-viva equation. Two independent particle tails — a fast straight ion stream and a slower, gently curved dust stream — are spawned every frame along the Sun-to-comet direction, so the tail always trails away from the Sun and never gets confused with the comet's direction of travel, exactly as a real cometary tail behaves under solar wind and radiation pressure.
A top-down 2D companion to the 3D comet orbit simulator: an adjustable-eccentricity Kepler ellipse with vis-viva speed, and a particle-based ion and dust tail that always streams away from the Sun regardless of the comet's direction of travel.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install