Caleb Kilgo

All filesFile 01 / 04

Satellite Tracker

Real-time orbital tracker

Tracks satellite constellations in real time on a 3D globe, with positions computed by a custom SGP4/SDP4 engine in WebAssembly.

Type
Project
Year
2026
Status
Live
Role
Sole developer
Stack
C++17 · WebAssembly · React 19 · Vite 8 · CesiumJS · FastAPI

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

Satellite Tracker globe view: Earth centred on North America, colour-coded satellite points around it, and a group selector listing Stations, GPS, Starlink, Weather, and Science.
Plate 01Globe view with four groups enabled.
Satellite Tracker locked on to one satellite above the US east coast: a targeting reticle, its orbital path, and a panel reading latitude, longitude, altitude, and velocity.
Plate 02A selected satellite: camera lock-on, orbital path, and the telemetry panel.

System

  1. 01

    Parse once

    Each TLE is parsed a single time into an element record. Initialisation pre-computes the frame-invariant secular coefficients.

  2. 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.

  3. 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.

  4. 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.

  5. 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.