APPROACH
inbound trajectory outbound trajectory

Gravity Assist Flyby: Hyperbolic Trajectory Lab (2D)

This 2D companion replaces the 3D original's fitted flyby curve with a real hyperbolic two-body orbit: pick a planet, an inbound speed and a flyby altitude, and the periapsis, eccentricity, deflection angle and heliocentric speed change are all computed directly from the vis-viva and patched-conic equations.