config: disable weather effects
This commit is contained in:
1 parent
febea9f1c5
commit
b80083c0f8
1 file changed
+10
-10
@@ -101,12 +101,12 @@ window.CONFIG = {
|
||||
// false = live Open-Meteo conditions (also used for the theme choice).
|
||||
// true = cycle sunny -> cloudy -> stormy -> night, useful to compare
|
||||
// all weather looks without waiting on the API.
|
||||
weatherSim: false, // real Open-Meteo weather
|
||||
weatherSim: true, // test mode: fixed sunny weather
|
||||
weatherSimInterval: 15000, // ms per weather step when weatherSim is true
|
||||
// weatherSim: false, weatherSimInterval: 30000
|
||||
// Synthetic weather states used by weatherSim. Each state sets theme,
|
||||
// Open-Meteo-like weather_code, temperature, humidity, precipitation and wind.
|
||||
weatherSimStates: ['sunny', 'cloudy', 'rain', 'snow', 'stormy', 'night'],
|
||||
weatherSimStates: ['sunny'],
|
||||
weatherSimProfile: {
|
||||
sunny: { code: 0, tempC: 18, humidity: 45, precipMm: 0.0, snowMm: 0.0, windKmh: 8, windDirDeg: 240 },
|
||||
cloudy: { code: 3, tempC: 14, humidity: 70, precipMm: 0.0, snowMm: 0.0, windKmh: 14, windDirDeg: 260 },
|
||||
@@ -147,34 +147,34 @@ window.CONFIG = {
|
||||
// Visual precipitation overlays driven by window.__currentWeather.
|
||||
// intensity multiplies Open-Meteo values; maxAlpha caps the overlay.
|
||||
weatherEffects: {
|
||||
enabled: true,
|
||||
enabled: false,
|
||||
rain: {
|
||||
enabled: true,
|
||||
enabled: false,
|
||||
intensity: 1.0, // 0.5 subtle, 2.0 heavy
|
||||
maxAlpha: 0.35, // maximum screen overlay opacity
|
||||
speed: 1.0 // fall speed multiplier
|
||||
},
|
||||
snow: {
|
||||
enabled: true,
|
||||
enabled: false,
|
||||
intensity: 1.0,
|
||||
maxAlpha: 0.45,
|
||||
speed: 0.35 // slow drifting flakes
|
||||
},
|
||||
lightning: {
|
||||
enabled: true,
|
||||
enabled: false,
|
||||
gain: 1.2, // brightness of one flash
|
||||
minDelayS: 8, // minimum delay between storm flashes
|
||||
maxDelayS: 45, // maximum delay between storm flashes
|
||||
doubleFlash: true // some flashes flicker twice
|
||||
},
|
||||
wetRoads: {
|
||||
enabled: true,
|
||||
enabled: false,
|
||||
dryMinutes: 30, // roads dry out after this many dry minutes
|
||||
roadGain: 0.8, // extra road-ribbon glow when wet
|
||||
lightGain: 0.35 // extra halo on vehicle lights when wet
|
||||
},
|
||||
snowCover: {
|
||||
enabled: true,
|
||||
enabled: false,
|
||||
meltMinutes: 90, // snow melts after this many warm minutes
|
||||
baseLineM: 900, // snowline at about +5 C
|
||||
tempLineMPerC: 80, // snowline moves down as temperature drops
|
||||
@@ -626,8 +626,8 @@ window.CONFIG = {
|
||||
// time, 1440 = one simulated day per minute. Clock hands, digital readout,
|
||||
// weather and sky all use the same clock. Hash overrides: #at=... #speed=...
|
||||
day: {
|
||||
startAt: null, // real time
|
||||
speed: 1 // real time
|
||||
startAt: '2026-10-13T06:59:00', // frozen test clock
|
||||
speed: 0 // frozen time
|
||||
// startAt: null, speed: 1 // real time
|
||||
},
|
||||
|
||||
|
||||
Reference in new issue
Block a user