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.
5 lines
449 B
CSS
5 lines
449 B
CSS
/* 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)}}
|