Pie in the Sky: animated 3D globe for Pie Control, with a night view

An orthographic Earth on a 2D canvas (sticker look, plus a night view with stars,
city lights and terminator) showing a capped sample of each crust's pies, laser
links, pie-dish beams and launches. One rAF loop only while open (30 fps cap,
DPR <= 2, idle while hidden), nothing left behind once closed. Land comes from
LANDS_LL. The world map only gets a pink pie-dish badge at cities with a dish,
behind one null check per visible city when there are none.
This commit is contained in:
Frederic Jung 2026-11-01 16:40:38 +01:00
parent c860a128e4
commit d3174600e7
No known key found for this signature in database
13 changed files with 338 additions and 3 deletions

View file

@ -0,0 +1,5 @@
/* Pie Control globe (96-map/89-pie-globe.js): square, as wide as the panel, never wider than the screen allows. */
.pglobe{position:relative;width:100%;max-width:420px;margin:6px auto;aspect-ratio:1/1}
.pglobe .pgcv{display:block;width:100%;height:100%;touch-action:none;cursor:grab;border-radius:16px}
.pglobe .pgnight{position:absolute;top:6px;right:6px;min-width:36px;min-height:36px}
@media (max-width:420px){.pglobe{max-width:min(100%,62vh)}}