Explore historical satellite trajectories computed with David Vallado's SGP4. Compare each against a perfect two-body Kepler orbit initialized from the very same position and velocity. Watch the models gradually part company.
SGP4 uses Vallado's perturbation model, including the analytical effects appropriate to each test orbit (such as Earth's oblateness, drag and deep-space terms). The cyan states were computed from the supplied SGP4.cpp.
Kepler solves the ideal point-mass two-body problem. We start it at exactly the same SGP4 state at t = 0, using a universal-variable solver. Its specific mechanical energy stays constant; its ideal orbit does not model perturbations.
The yellow–cyan separation is a disagreement between two models, not a measured prediction error. Neither line is ground-truth tracking data.
Difference in Earth-centred position over the first 24 hours after the archived TLE epoch.
The native Vallado C++ implementation from FAA.zip was compiled on Linux and compared against its archived tcppver.out data: 666 of 666 recorded states matched, maximum position difference 5.57×10⁻⁷ km. WGS-72 gravitational constants and the AFSPC-compatible opsmode='a' were required to reproduce that specific reference.
This HTML includes precomputed SGP4 TEME states at each integer minute (from the tested C++ program), with velocity-based Hermite interpolation for smooth rendering between samples. Its JavaScript code propagates the separate Kepler reference orbit; it is not a complete JavaScript port of SGP4 yet. Satellite TLEs are historical examples, not live positions. TEME is an Earth-centred inertial-like frame; globe guides are schematic and not a real-time Earth-fixed map.
Visual sizes, axes and times are labelled scientifically. The plot uses an orthographic 3D projection; this is a learning instrument, not operational navigation software. SGP4 is a model of mean-orbit elements calibrated to TLEs, so comparisons with Keplerian trajectories should not be interpreted as isolated measurements of any one perturbation.