feat(satellites): ISS as a 3D model up close, NASA live video when selected

Within 1,500 km of the camera the ISS (NORAD 25544) is drawn as NASA 3D
Resources' station model, at its real 109 m span with a 72 px floor, in
its usual +XVV attitude from a per-frame SGP4 sample (the follow camera's
sample while tracked). Farther out the dot stays; model and dots split
the distance range. Selecting the ISS opens a panel beside the existing
tracked card with NASA's official ISS live stream, embedded through
youtube-nocookie with a fixed video id (no page scraping).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Itallo BrandãoandClaude Opus 5.5 committed 2026-11-12 19:03:29 -03:00
1 parent 10a788db78
commit 9aeabbacfb
32 files changed
+841 -17

No files matched your search

+2
View File
@@ -65,6 +65,8 @@ export function createInteraction({
const prim = picked.primitive;
if (prim && prim.id != null) {
const noradId = Number(prim.id);
// A click on the tracked ISS's own model: it is already tracked.
if (noradId === layerState._trackedNorad) return;
if (!isNaN(noradId) && layerState._catalog.has(noradId)) {
parts.tracking._cancelPendingTrackingRestore();
parts.tracking._trackSatellite(noradId, { origin: 'user' });