← Live GlobeUse Case 15
🛰️

Starlinks Spacemap

Real-time tracking of the complete Starlink mega-constellation using live TLE orbital data, SGP4 propagation, and WebGL globe rendering — 6,000+ satellites updated every 5 seconds.

📋

~42,000

Approved satellites

🛰

~6,500

Currently deployed

🔵

5 primary

Orbital shells

🔁

~90 min

Orbital period

340–570 km

Service altitude

~7.6 km/s

Velocity

🌐

±90°

Coverage latitude

🔦

Yes

Laser ISLs (v1.5+)

Data Pipeline

From raw orbital mechanics data to animated WebGL positions in six steps.

📡
01

CelesTrak TLE Feed

General Perturbation (GP) element sets for all active Starlink satellites fetched from CelesTrak (sponsored by AMSAT). Data conforms to CCSDS OMM v2.0 standard with NORAD-assigned IDs.

CelesTrak GP APICCSDS OMM v2.0JSON formatNORAD catalogue
🔁
02

Next.js API Proxy

A server-side Next.js Route Handler proxies requests to CelesTrak, adds 10-minute edge caching, and handles CORS — keeping the client payload clean and the external API rate-limit safe.

Next.js Route HandlerEdge caching (10 min)Cache-Control headersStale-while-revalidate
🔬
03

TLE Parsing

Two-Line Element sets are parsed by satellite.js using the `twoline2satrec()` function, converting the compact TLE encoding into the numerical state vector required by the SGP4 propagator.

satellite.js v7twoline2satrec()SatRec state vectorError code validation
🧮
04

SGP4 Orbital Propagation

The SGP4/SDP4 algorithm propagates each satellite's state vector forward to the current UTC time, accounting for atmospheric drag, Earth's oblateness (J2 perturbation), and solar radiation pressure.

SGP4 algorithmJ2 perturbation modelECI coordinate frameGMST sidereal time
🌐
05

Coordinate Transformation

ECI (Earth-Centred Inertial) cartesian coordinates are converted to geodetic latitude, longitude, and altitude using Greenwich Mean Sidereal Time (GMST), giving real-world geographic positions.

ECI → ECEF → GeodeticdegreesLat / degreesLongHeight above WGS-84 ellipsoidReal-time GMST
🖥
06

WebGL Globe Rendering

6,000+ satellite positions and 90-minute ground tracks are rendered every 5 seconds on a globe.gl WebGL globe with NASA Earth-Night texture, topology bump map, and animated orbital path dashes.

globe.gl 2.45Three.js WebGLNASA Blue Marble (night)Animated path dashes

Orbital Shells

Starlink deploys satellites across five primary orbital shells, each with distinct inclination, altitude, and coverage zone. The globe colours each satellite by its shell.

ShellInclinationAltitudePlanesSats/PlaneCoverage
Shell 153.0°550 km7222Original operational LEO shell. Provides global coverage between ±53° latitude.
Shell 253.2°540 km7222Second 53° shell deployed to increase capacity density.
Shell 370.0°570 km3620High-inclination shell extending coverage to ±70° latitude for polar regions.
Shell 497.6°560 km658Sun-synchronous retrograde orbit. Provides near-polar coverage and consistent solar geometry.
Shell 543.0°535 km7222Gen 2 mid-inclination shell targeting high-density population corridors.

Tech Stack

📡

CelesTrak GP/TLE

Orbital data

🧮

satellite.js (SGP4)

Propagator

🌐

globe.gl + Three.js

Globe renderer

🌑

NASA Blue Marble Night

Earth texture

5 s position refresh

Update rate

🔁

10 min edge cache

TLE cache

Next.js 16 App Router

Framework

🛰

6,000+ Starlinks

Satellites

📐 What is SGP4 Propagation?

Simplified General Perturbations 4 (SGP4) is the standard algorithm used by NORAD and space agencies worldwide to predict satellite positions from Two-Line Element (TLE) sets. It models the effects of atmospheric drag, Earth's oblateness (J2–J6 harmonics), and solar/lunar gravity to propagate an orbital state forward in time.

Each TLE is valid for approximately 1–2 weeks before atmospheric drag introduces significant position errors. CelesTrak distributes fresh TLEs daily from Space-Track.org.

TLE

Two-Line Element set — compact orbital parameter encoding used by NORAD

SGP4

Simplified General Perturbations 4 — orbit propagation algorithm

ECI

Earth-Centred Inertial frame — fixed reference frame used during propagation

GMST

Greenwich Mean Sidereal Time — rotates ECI to Earth-fixed ECEF frame

BSTAR

Drag coefficient in TLE encoding representing atmospheric drag decay

Data Sources

📡

CelesTrak

TLE data provider

Distributes NORAD/Space-Track GP element sets. Free public API with GP JSON endpoint for active satellites.

🏛

Space-Track.org

Authoritative source

US Space Force 18th Space Control Squadron — the authoritative source of all NORAD catalog TLE data.

🌍

NASA Blue Marble

Earth imagery

NASA's Earth at Night composite satellite imagery used for the globe texture in globe.gl.

See it live — 6,000+ satellites right now

Open the interactive globe to explore the full Starlink constellation in real time, filter by orbital shell, and track individual satellites.

🛰️ Launch Spacemap