All filesFile 01 / 04
Satellite Tracker
Real-time orbital tracker
Figures
- 5Satellite groups
- 1WASM call per frame
- 10Ground-track step, seconds
- 2Orbital periods per track
Overview
Live positions for GPS, Starlink, weather, and science satellites on a 3D globe, propagated every frame in the browser. Click a satellite for live telemetry, lock the camera on, and trace its ground track across two full orbits.
Built
- An SGP4/SDP4 propagator in C++17 (Vallado 2006), compiled to WebAssembly with Emscripten in place of satellite.js.
- Batch propagation over pre-allocated heap buffers: one call per frame covers the whole constellation.
- A CesiumJS interface with group toggles, a 1 Hz telemetry panel, camera lock-on, and ground tracks.
Plates


System
- 01
Parse once
Each TLE is parsed a single time into an element record. Initialisation pre-computes the frame-invariant secular coefficients.
- 02
Propagate in one call
Every animation frame, one propagateBatch call walks the handle buffer, runs SGP4, converts ECI to WGS-84 geodetic, and writes latitude, longitude, altitude, and speed to an output buffer.
- 03
Read the heap
JavaScript reads the results through a Float64Array view on the WASM heap. No per-satellite calls, no garbage on the hot path.
- 04
Track without stutter
Camera lock-on uses a preRender listener and camera.lookAt, which avoids the reference-frame switch that makes Cesium’s trackedEntity stutter on first selection.
- 05
Split at the dateline
Ground-track polylines are cut at the antimeridian so they render without crossing artifacts.
Specifications
- Regimes
- LEO · MEO · GEO
- Groups
- Stations · GPS · Weather · Science · Starlink
- Elements
- Live TLE data from CelesTrak
- Propagator
- SGP4/SDP4, C++17 to WebAssembly (Emscripten)
- Frontend
- React 19 · Vite 8 · CesiumJS 1.142 · Resium
- Backend
- Python 3.11 · FastAPI (TLE proxy fallback)
- Deploy
- Vercel · Render
Known limits
- Deep-space objects (period of 225 minutes or more) use secular-only perturbations. The lunar-solar resonance terms of full SDP4 are not implemented, so those positions drift over multi-day propagations.
- Starlink is off by default: loading more than 5,000 objects affects frame rate on lower-end hardware.