Engine API
Use the same orbital calculations that power the tracker. The interactive example calls the compiled Rust solver.
Native Rust core
The core exposes Elements, Orbit, SGP4, station geometry, illumination, coverage, and numerical flight. Positions are in kilometers, velocities in kilometers per second, and angles in radians. Times are UTC Unix seconds except SGP4’s explicit offset API.
let sgp4 = Sgp4::new(elements, bstar)?;
let state = sgp4.propagate(unix_seconds)?;Browser binding
The TypeScript wrapper initializes a catalog, calls WebAssembly in batches, and reads contiguous position and velocity states. Dispose the catalog when replacing it.
const createCatalog = await loadWasm();
const engine = createCatalog(satellites.length);
engine.initialize(satellites);
const positions = engine.propagate(time, Model.Sgp4);Python validation interface
The Python project calls a native build of the same ABI with ctypes. It generates HTML and JSON evidence without adding a runtime Python dependency to the tracker.
npm run compare -- 25544 --csv /tmp/iss.csvKepler solver
Watch the solver find the eccentric anomaly E for the equation E − e sin E = M.