1.16 part 9/11: Almanac 3D: Earth, planets, flights and missions

Closed
EP
12d ago
+22327-1641

Part 9 of 11 of Zimi 1.16: almanac 3D: Earth, planets, flights and missions.

The release is split into 11 parts so each one can be reviewed whole. Each part's base is the part before it, so this diff is only its own files; a part on its own is not a running state. CI runs once, on the release PR that carries every part into main.

Every part was reviewed before it was opened, and the full suite (quick tier, node tests, every browser test under software GL) ran on the combined tree.


Summary by cubic

Completes the Almanac's 3D view with the full solar system: planets and moons with maps, a Sun close-up with prominences and flares, a pilotable flying saucer, mission replays (Perseverance, Voyager 1 & 2), and deep links into any body, mission, or landmark. Also fixes long-standing visual bugs (Saturn's ring lighting, orbit lines passing through bodies, labels stealing touches), makes static asset URLs version-cache safe, and opens the page before the sky has drawn.

3D features

  • The orrery and Planets view are one view: the orrery lifts into 3D, and a tap on a body flies the camera to it.
  • The sky, the orrery and the 3D view draw every body from the same VSOP87D coefficients, so an orbit is the planet's true 3D path instead of a flat ring lifted, accurate to 1" over 1500-2500.
  • A flying saucer you steer between worlds, its speed tied to time-to-contact so the ground streams by at the same rate ten metres up and ten AU out.
  • The Sun's close-up adds active-region loops, flares, and a finer surface, deterministic per instant.
  • Missions for Perseverance, Voyager 1 and Voyager 2 replay their launches, flybys, and landings, with a probe's line drawn only as the road already travelled.
  • The Earth view carries Natural Earth-derived landmarks and the installed map's streets and names appear on the globe as the camera descends; a place no map holds is offered one to download.
  • Moons now carry maps too, Saturn's inner and the outer worlds' moons ride fitted orbits, a planet's orrery tip carries a magnifier opening the sky aimed at it, and a tap on a planet goes to the planet, never its moon.

Robustness and fixes

  • Static files under /static/earth are requested with ?v= content hash, so an updated file cannot be served from a year-long immutable cache.
  • On devices short on memory or cores, the 3D view falls back to a single static lit-globe render rather than a live GL context, and its maps are budgeted against the device's capability level.
  • The HD and Maximum tile builds now outgrow a standard runner (Maximum: 4.8 GB), so they are built on a big machine and published by script; the old workflow stays as the recipe.
  • Saturn's rings are lit by the Sun's real direction, orbit lines pass through their bodies, and labels under a finger no longer keep a drag or pinch from the globe.
  • A flight between worlds keeps the picture north-up and its orbits in view; every control gives a finger 44 x 44 on a phone, and a tap on empty space puts the controls away.
  • Zooming on past a body's closest stop descends to the ground, where landing ends level at the cloud tops.
  • The page opens the moment the head is on the screen, without waiting for the sky, and the search sheet is three plain parts: things to fly to, places to stand, and launches to watch.