A weather layer without a shared clock keeps its own on the world clock

Built without a weather clock, the weather layer still ran a frame replay
of its own: params.play stepped its frames every two seconds and went round
from the last to the first, params.step and params.latest picked frames
locally, and the layer tracked whether it followed the newest frame. That
was a second way to move time.

The layer now builds a weather clock on the page's world clock when none
is passed, and destroys it with the layer, so every layer follows the world
clock and its params move the world clock as the timeline does. The local
replay, its timer, the follow-latest flag, the wrap to the first frame, the
timerActive diagnostic and the reduced-motion "manual history available"
message are removed.
This commit is contained in:
Sameh Khamis committed 2026-11-14 20:26:26 -08:00
1 parent 3cfd414e70
commit 326cab4cf2
16 files changed
+141 -242

No files matched your search

-1
View File
@@ -1348,7 +1348,6 @@
"60°S–60°N · typically 2–3 h delayed": "60°S–60°N · normalmente com 2–3 h de atraso",
"North America · infrared imagery": "América do Norte · imagens infravermelhas",
"Reduced motion · history playback unavailable": "Movimento reduzido · reprodução do histórico indisponível",
"Reduced motion · manual history available": "Movimento reduzido · é possível percorrer o histórico manualmente",
"Rain radar · US": "Radar de chuva · EUA",
"Lightning density · 15 min": "Densidade de raios · 15 min",
"Satellite clouds": "Nuvens por satélite",