five-on-it / apps/client/src/renderer/weather-view / WEATHER_VIEW
Variable: WEATHER_VIEW
constWEATHER_VIEW:object
Defined in: apps/client/src/renderer/weather-view.ts:38
How the weather is drawn.
Type Declaration
across
readonlyacross:64=64
The box the rain and the snow fill round the camera's target (m): across, and high.
drops
readonlydrops:1400=1400
Rain streaks drawn at a downpour, with a GPU and without.
dropsSoftware
readonlydropsSoftware:400=400
flakes
readonlyflakes:1100=1100
Snowflakes drawn at the heaviest snow, with a GPU and without.
flakesSoftware
readonlyflakesSoftware:350=350
flashEvery
readonlyflashEvery: readonly [5,16]
Lightning: a flash every so many seconds at a full storm (fewer in a weaker one), its light added to the sky's.
flashLight
readonlyflashLight:1.4=1.4
high
readonlyhigh:36=36
mudDark
readonlymudDark:0.75=0.75
Mud keeps this share of its colour.
rainFall
readonlyrainFall:18=18
How fast a drop and a flake fall (m/s).
snowFall
readonlysnowFall:1.6=1.6
snowLoose
readonlysnowLoose:0.75=0.75
Snow whitens loose ground and grass this much at a full cover, paved ground and roofs this much.
snowPaved
readonlysnowPaved:0.35=0.35
wetDark
readonlywetDark:0.62=0.62
A wet road keeps this share of its colour…
wetShine
readonlywetShine:0.32=0.32
…and catches this much of the light.