diff --git a/background-final.html b/background-final.html index 3f49f59..61d2ca4 100644 --- a/background-final.html +++ b/background-final.html @@ -13,6 +13,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) * @@ -79,6 +83,7 @@ window.CONFIG = { debug: 0, theme: 'ash', units: 'metric', + renderer: 'clouds2d', // 'vanta' or 'clouds2d' language: 'de', timeFormat: 'DD. MMMM, YYYY ‒ HH:mm:SS', location: { @@ -1081,10 +1086,193 @@ else window.SunCalc = SunCalc; + +