Add lightweight 2D WebGL cloud renderer as alternative to Vanta

This commit is contained in:
Richard Zink committed 2026-10-07 16:47:53 +02:00
1 parent a82d6cce3d
commit d8e619e0c3
5 files changed
+406 -2

No files matched your search

+5
View File
@@ -6,6 +6,10 @@
* below. To add a new theme, drop a new *.css file in the same
* directory and add an entry to window.THEMES.
*
* renderer - Background renderer: 'vanta' (default, GPU 3D volumetric
* clouds, heavy) or 'clouds2d' (lightweight 2D WebGL shader,
* very low GPU usage, similar visual style).
*
* units - Measurement units for the weather widget.
* 'metric' (°C, km/h) or 'imperial' (°F, mph)
*
@@ -72,6 +76,7 @@ window.CONFIG = {
debug: 0,
theme: 'ash',
units: 'metric',
renderer: 'clouds2d', // 'vanta' or 'clouds2d'
language: 'de',
timeFormat: 'DD. MMMM, YYYY ‒ HH:mm:SS',
location: {