simulation

Data sources, refresh behavior, and visualization techniques used in the simulation.

Summary

  • Built in `SvelteKit` and `Three.js`.
  • Combines live APIs, static global datasets, and procedural layers.
  • Uses streamlines, ribbons, heatmaps, shell overlays, sprites, orbital paths, and multi-scene rendering.
  • Uses server-side TTL caching, browser-side IndexedDB caching, and route-level lazy loading.

Earth And Basemap

LayerData sourceRefresh / cacheTechnique
BordersNatural Earth country polygons plus local country metadataStatic local assetComposited into the globe texture.
LabelsLocal country centroid and population data derived from Natural Earth companion datasetsStatic local assetScreen-space label layer tied to the global labels toggle.
RiversNatural Earth river centerlinesStatic local assetPrecomputed ribbon geometry rendered as animated flow.
GridProcedural graticuleProceduralLatitude / longitude reference grid.
PlatesLocal tectonic plate boundary dataStatic local assetDashed overlay baked into the base texture.
Ocean FloorBathymetry and ocean mask texturesStatic local assetShader-driven displacement and depth-based ocean coloring.

Weather And Atmosphere

LayerData sourceRefresh / cacheTechnique
WindOpen-Meteo wind speed and direction fields via `/api/wind`1 hour server TTLParticle streamlines from sampled u/v vectors, with procedural fallback.
CurrentsProcedural ocean-current fieldProceduralStreamlines masked to oceans.
CloudsNASA Worldview / Earthdata true-color imagery via `/api/clouds`1 hour server TTLThree cloud shells at different radii and speeds.
TemperatureOpen-Meteo sampled weather grid via `/api/weather`1 hour server TTLWeather heatmap from sampled grid.
PressureOpen-Meteo sampled weather grid via `/api/weather`1 hour server TTLIsobars from sampled grid.
PrecipOpen-Meteo sampled weather grid via `/api/weather`1 hour server TTLPrecipitation overlay from sampled grid.
Air QualityOpenAQ PM2.5 latest observations10 minute server TTLScale-aware point sprites.

Natural Events

LayerData sourceRefresh / cacheTechnique
QuakesUSGS earthquake GeoJSON feeds1 to 15 minutes depending on rangePoint layer with normalized magnitude / depth / time.
VolcanoesSmithsonian Global Volcanism Program24 hour server TTLPersistent global point layer.
FiresNASA FIRMS VIIRS fire detections30 minute server TTLDownsampled fire detections rendered as points.
LightningBlitzortung websocket stream30 second in-memory ring bufferRecent strike buffer rendered as live points.
FireballsNASA JPL fireball API1 hour server TTLHistorical atmospheric entry points.

Communications And Infrastructure

LayerData sourceRefresh / cacheTechnique
Cell TowersOpenCelliD-derived tower dataCached in browser IndexedDBTerrain-aware point markers.
Internet InfraPeeringDB IXPs and data center metadataCached in browser IndexedDBMixed point-and-connection layer.
Sub CablesSubmarine cable route dataCached in browser IndexedDB3D ribbons with motion cues.
Landing PtsSubmarine cable landing station dataCached in browser IndexedDBCoastal node layer.
SatellitesCelesTrak active satellites via `/api/satellites`1 hour server TTLClient-side propagation from orbital elements.
Ground StnSatNOGS station network24 hour server TTLGround station node layer.
MicrowaveMicrowave relay link dataCached in browser IndexedDBPoint-to-point terrestrial links.
BGP PeeringDerived peering and interconnection datasetCached in browser IndexedDBArc layer for interconnection routes.
SpectrumDerived spectrum utilization datasetCached in browser IndexedDBRF density heatmap.

Transportation, Industry, And Conflict

LayerData sourceRefresh / cacheTechnique
RailwaysNatural Earth rail dataStatic local assetStatic network with motion accents.
ShippingProcedural shipping-lane modelProceduralRoute-density traffic layer.
ShipsDigitraffic AIS via `/api/ships`30 second server TTLLive vessel points capped server-side.
PlanesOpenSky via `/api/planes`15 second server TTLAircraft sprites with heading and normalized altitude.
ISSDedicated client-side orbital modelClient-sideTracked object rendered separately from general satellite layer.
Power PlantsWRI Global Power Plant DatabaseCached in browser IndexedDBScale-aware point layer.
CitiesLocal city datasetStatic local assetCity layer integrated with the day/night model.
Conflict (Live)GDELT conflict event feed5 to 15 minute server TTLLive conflict event layer.
Conflict (UCDP)UCDP GED1 hour server TTLHistorical conflict event layer.
Conflict RiskVIEWS forecasting APIRun id 24 hours, results 6 hoursForecast risk layer mapped from grid cells.

Space And Deep Space

LayerData sourceRefresh / cacheTechnique
HYG StarfieldHYG star catalogStatic local assetBackground starfield layer for broad stellar density.
Gaia StarfieldGaia star catalogStatic local assetDenser nearby-star layer with scale-aware visibility.
SunClient-side astronomical position modelClient-sideRendered as a scale-aware solar object tied to the zoom model.
PlanetsClient-side astronomical position model and curated physical parametersClient-sidePlanet meshes rendered with scale-aware sizing.
MoonClient-side lunar position modelClient-sideSeparate lunar layer linked to the planet system.
Saturn RingsClient-side Saturn modelClient-sideDedicated ring geometry attached to the Saturn rendering path.
Asteroid BeltProcedural belt modelClient-sideBelt-scale particle / object field for mid-solar-system context.
Tracked AsteroidsTracked asteroid datasetStatic local assetNamed asteroid objects rendered separately from the generic belt.
Orbit LinesClient-side orbital path generationClient-sideOrbit paths rendered as separate line layers.
CometsComet dataset and client-side orbital path generationStatic local assetTracked comet objects with orbit lines and optional labels.
SatellitesCelesTrak active TLEs via `/api/satellites`1 hour server TTLSGP4 propagation from live TLEs with client-side position updates.
SpacecraftJPL Horizons via `/api/spacecraft`24 hour server TTLSequential ephemeris queries rendered as tracked spacecraft.
Space LabelsClient-side annotation datasetStatic local assetSolar-system labels controlled by the global labels toggle.
Constellation LinesConstellation line datasetStatic local assetLine layer for major constellations.
Stellar LabelsClient-side stellar annotation datasetStatic local assetNamed star / constellation labels controlled by the global labels toggle.
Galactic PanoramaMilky Way panorama assetsStatic local assetGalaxy-scale panoramic backdrop rendered in the main scene.
Milky Way ParticlesClient-side galaxy particle modelClient-sideParticle-based Milky Way structure.
NebulaeNebula asset setStatic local assetAdditive deep-space nebula rendering.
Milky Way ModelClient-side galaxy modelClient-sideSeparate galaxy-scene layer for large-scale Milky Way structure.
Local GroupClient-side local-group datasetStatic local assetNearby-galaxy context rendered in its own scale regime.
Cosmic WebClient-side cosmic web modelStatic local + proceduralLarge-scale structure rendering in a dedicated far scene.
SDSS Cosmic WebSDSS-inspired cosmic structure datasetStatic local assetObserved / catalog-inspired large-scale structure overlay.
CMBCosmic microwave background texture / datasetStatic local assetFarthest-back scene layer for cosmological context.