The project uses React 19 + Tailwind v4 + Vite. Now I'll install the 3D stack compatible with React 19: React Three Fiber v9, drei, postprocessing, three, and lucide-react.
Packages installed. Now I'll create the core aerospace math library — the NOAA solar ephemeris (sub-solar point from system UTC), geodetic→3D conversion aligned to the Blue Marble equirectangular UV mapping, and the circular-orbit frame solver used for the orbital track and position extrapolation.
Astro library created. Next, the API client and the live tracking hook with the 5-second asynchronous fetch loop, telemetry history, link status, and derived velocity computation.
Now the Earth component — high-res Blue Marble + night-lights textures with a custom shader that blends day/night along the real computed terminator, plus ocean solar glint pop, atmosphere shell, and a faint graticule.
Fixing the import typos in Earth.tsx:
Now the ISS beacon — glowing HDR core for bloom pickup, fresnel glass shell, radial flare sprite, ping rings, ground sub-point marker, visibility footprint, and the per-frame extrapolation along the computed orbit frame:
Fixing the type errors in Iss.tsx — proper delta-based damping and ref iteration:
Now the orbital path component — the full predicted orbit ring plus a fading additive trail behind the satellite, rebuilt on each API sample:
Now the Scene — Canvas setup, stars, sun marker (sub-solar point glyph), synced sun lighting, camera rig with intro dolly + focus mode, orbital controls, and the HDR bloom/vignette post-processing chain:
Now the HUD — the glass aerospace dashboard with live telemetry, solar ephemeris, link status with sparkline trend, control buttons, and numeric tweening:
Now the boot overlay (asset/uplink loader) and the root App composition:
Now the global styles (Tailwind v4 theme, glass HUD panels, buttons, animations) and the HTML shell:
Now let's build to verify everything compiles:
Build succeeded. Now let me fix a visual correctness issue I spotted: the footprint shading disc was a flat plane with depthTest disabled, which could render through the planet at the limb. I'll replace it with a proper surface-projected spherical cap that occludes correctly.
Now adding the buildCapGeometry helper at the end of Iss.tsx:
Now let's rebuild to verify the cap fix and all changes compile:
Build passed. Let me do a final review of the ISS component's frame loop to verify correctness:
The build is clean and everything is verified. The ISS Orbital Tracker is complete.
What was built
ISS ORBITAL TRACKER — LIVE 25544 — a premium, real-time aerospace dashboard rendering the International Space Station over a photorealistic Earth.
3D Scene (React Three Fiber + Three.js)
- Earth: 8K NASA Blue Marble day map + Earth-at-Night city-lights map on a custom
ShaderMaterial — the two maps blend across a physically computed terminator with a warm dusk band, ocean solar glint, fresnel limb atmosphere, an additive backlit atmosphere shell, and a faint lat/long graticule
- Real-time solar ephemeris (
src/lib/astro.ts): NOAA solar position math driven by the user's system UTC clock — solar declination, equation of time, and the sub-solar point recalculated every second. This drives the day/night shader uniform, a sun-locked directional light, and an amber sub-solar marker, so the terminator lands exactly where it should right now
- ISS beacon: HDR emissive core feeding a
Bloom pass (mipmap blur), a fresnel glass shell with sun specular, radial flare sprite, camera-facing ping rings, an occluding glass HUD chip, plus a sub-satellite ground ping, radial tether, and the real ~4,500 km visibility footprint drawn as a surface-hugging spherical cap + ring
- Orbit path: full predicted track solved from the live fix (51.6416° circular frame through the current position) with an additive fading trail
- Post: ACES tone mapping, HDR bloom, vignette; 7,500-star field; eased intro dolly camera
Live data
- Asynchronous fetch loop against
api.wheretheiss.at/v1/satellites/25544 every 5.0 s with abort timeout, latency measurement, stale/link-lost decay states, and packet/error counters
- Between fixes, the beacon extrapolates along its Keplerian orbit frame (corrected each sample), so motion is continuous and placement matches the API coordinates exactly (geodetic→3D mapping verified against the sphere UV layout)
- Calculated velocity: great-circle ground speed derived from consecutive fixes, shown in km/s next to the API-reported km/h, with a live sparkline trend
HUD
Glass-morphic panels with corner brackets: mission header with UTC clock/DOY, telemetry (tweened lat/lon, altitude, dual velocity, sunlight/eclipse shadow test, footprint, period), deep-space link status with roundtrip/latency/next-fix, solar ephemeris readouts, velocity sparkline, camera hints, and FOCUS ISS (camera tracks the beacon) / RESET VIEW controls — plus a radar boot loader with staged progress messaging.
Files built: src/lib/astro.ts, src/lib/issApi.ts, src/hooks/useIssTracker.ts, src/three/Earth.tsx, src/three/Iss.tsx, src/three/OrbitPath.tsx, src/three/Scene.tsx, src/components/Hud.tsx, src/components/BootOverlay.tsx, src/App.tsx, src/index.css, index.html