weatherLab.module
README.md
weatherLab
The Cloudburst showcase's Weather Lab panel. require("showcase.weatherLab").start() (called from the main
scene's entrypoint) binds the kit's pond and puddle water so ripples follow the rain, and shows a small
"Weather Lab" pill with a "Tab: Weather Lab" hint. Tab, F1 or a tap on the pill opens a compact, collapsible
panel: all 23 presets (each also sets worldClockKit's clock to the preset's suggested hour), the 12 kinds
with an intensity slider, rain / snow / lightning / splash / fog-bank looks, wind and gust sliders, dawn /
noon / dusk / night, a looping forecast cycle, a per-player "gentle flashes" toggle and a live readout
(preset, rain, snow, wind, wetness, snow cover, fog, sheltered). Every change goes through
cloudburst.weather, so any player's click reaches the weather's owner and every player sees it.
On a phone-sized screen the panel docks to the bottom, full width, and scrolls.
Lab.press("preset:alpine_snow") / Lab.slide("wind", 0.8) run the same actions a click does.