Orbital Slingshot Maneuver (2D)
2D gravity-assist lab: a probe crosses a moving planet's inverse-square field, integrated with semi-implicit Euler at a fixed sub-step. Tune planet mass, entry speed, lateral offset and orbital phase, and read the live speed, closest approach and distance-vs-time trace.
This 2D companion runs the same moving-planet gravity-assist encounter as the 3D version on a flat top-down canvas: a side panel exposes planet mass, entry speed, lateral drift and orbital phase, a live readout tracks current speed, speed gain, closest flyby distance, mission time, live distance and deflection angle, and a distance-vs-time trace makes the exact moment of closest approach — and how sharply it bends the trajectory — directly visible instead of hidden inside a free-orbiting 3D camera.
A 2D top-down gravity-assist encounter: a probe crosses a moving planet's inverse-square field, integrated with semi-implicit Euler. Tune planet mass, entry speed, lateral offset and orbital phase, and read the live speed, closest approach and distance-vs-time trace.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install