v3: Globes and Vision Pro !39

merged merged by cmc on 2026-10-18 22:05 UTC · krz/moonrise:v3-globes into main

Discussion

cmc
  • Library planet, dwarf-planet, moon and Sun pages › View as a globe: a RealityKit sphere, tilted by the body's axial tilt, lit from the side, turned by dragging.
  • Maps (public domain, NASA/USGS, at most 2048 px, 3.9 MB total) for Mercury, Venus (Magellan radar topography), Earth, Moon, Mars, Jupiter, Pluto, Io, Europa, Ganymede, Callisto, Titan, Enceladus. Other bodies, including Saturn (no ready-made public map), use the page colour. Credits shown under each globe and in THIRD_PARTY.org.
  • visionOS app (MoonriseVision): the globes in a window, an orrery volume with today's planet positions (square-root distances), and an immersive space with stars brighter than magnitude 4.5 placed for now. Compiled for the visionOS simulator; not run, because no visionOS simulator runtime is installed here.
  • Color(hex:) moved to its own file so the visionOS target can share it.
  • Checked: Mars (colour fallback) and Earth (map) globes on the iPhone simulator; Earth is not mirrored.