Commit Graph
121 Commits
Author SHA1 Message Date
Richard Zink 1bf1b708e8 Add weather simulation + debug-panel weather controls
- weatherSim config flag (default false): cycles through
  ['sunny','cloudy','stormy','night'] every weatherSimInterval ms
  instead of pulling open-meteo
- Debug-panel buttons: Sunny / Cloudy / Stormy / Night for
  instant manual switch; Auto-Cycle toggle, Stop, 5s/15s cycle
- Cleanup: removed duplicate unwrapped tick() in the init block
  (the wrapped one already starts the rAF chain)

The sim keeps the existing 5-minute palette transition between
states, so you still see the colour shift rather than a hard cut.
2026-10-07 19:45:57 +02:00
Richard Zink 1f90276fed Default to clouds2d (texture-based) renderer 2026-10-07 19:42:19 +02:00
Richard Zink 0648676974 Add volumetric clouds3d renderer
Raymarches a horizontal cloud layer (28 steps, 4-octave 3D fBm).
Camera path is sinusoidal in altitude so the view dips into the
cloud deck at intervals for a 'fly through the edges' feel.
Density threshold from weather: sunny -> sparse, stormy -> overcast.
Renderer is selected via CONFIG.renderer ('clouds2d' or 'clouds3d').
2026-10-07 18:54:58 +02:00
Richard Zink c6764fd534 Fix clouds2d: create own canvas element
The 2D WebGL renderer now creates its own <canvas> overlay inside
the target element, instead of expecting the target to already be a
canvas. This fixes 'canvas.getContext is not a function' when the
target is a <div>.
2026-10-07 18:49:42 +02:00
Richard Zink e8df75eebc Enable debug temporarily for diagnosis 2026-10-07 16:56:50 +02:00
Richard Zink d8e619e0c3 Add lightweight 2D WebGL cloud renderer as alternative to Vanta 2026-10-07 16:47:53 +02:00
Richard Zink 3241721f2b Skip reverse-geocoding if CONFIG.location.label already set 2026-10-07 14:37:08 +02:00
Richard Zink 80d15a6edd Document location field in config.js 2026-10-07 14:25:54 +02:00
Richard Zink 9dd76ebd9e Use lat/lon from CONFIG.location; hide debug panel when debug=0; remove street address 2026-10-07 14:22:02 +02:00
Richard Zink d3ccd6f70d Set debug=0, language=de, timeFormat=DD. MMMM, YYYY T HH:mm:SS 2026-10-07 14:06:24 +02:00
Richard Zink eae8bf19a3 Add am/AM (a/A) token to formatDateTime; document in config.js 2026-10-07 13:58:17 +02:00
Richard Zink 305770154f Expand config.js docs with full examples and escape sequences 2026-10-07 13:51:33 +02:00
Richard Zink 90730af49d Use the test time format with fixed minute (mm) in config.js 2026-10-07 13:17:29 +02:00
Richard Zink d1257bdd2c Add non-standard extension tokens DDD and MMM (localized) 2026-10-07 13:16:29 +02:00
Richard Zink 0bcb9878b1 Strict ISO 8601 tokens: MM=month (always), mm=minute 2026-10-07 13:14:45 +02:00
Richard Zink 2c0e84d267 Expand English documentation in config.js 2026-10-07 13:08:53 +02:00
Richard Zink c2996e4762 Make digital clock format configurable via CONFIG.timeFormat 2026-10-07 13:06:03 +02:00
Richard Zink ecc3156652 Set English as base language with DE fallback 2026-10-07 13:00:06 +02:00
Richard Zink f726b76b7d Auto-populate debug select dropdowns from config.js THEMES 2026-10-07 12:38:03 +02:00
Richard Zink 591f5b2f24 Add nord theme with license header, update all theme files with license 2026-10-07 12:35:06 +02:00
Richard Zink f0f0fa18f6 Add config.js, gruvbox.css, debug panel dropdowns 2026-10-07 12:22:25 +02:00