From f3155cbc866a1b261a0aafe61683da1e3c25b1ef Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 10 Apr 2026 09:22:06 +0300 Subject: add WebGL scenes to all themes, sounds, image sizing, new themes - All 11 themes now have unique Three.js WebGL backgrounds: aurora: flowing sine-wave ribbon meshes with additive blending brutalist: harsh rotating white/red wireframe boxes glass: drifting crystal icosahedron shards, semi-transparent matrix: digital rain particle columns with per-vertex colour fade ocean: animated vertex-displaced wave surface with orbiting light retro: amber demo-scene cube with orbiting octahedrons synthwave: sunset sphere with scan-line rings and perspective grid terminal: green icosahedron wireframe with orbiting torus particles neon: existing Three.js orb and rings (unchanged) plasma (replaces minimal): drifting additive-blend colour blobs volcano (replaces paper): rising ember particles with lifecycle - shared.go: distinct sounds for j/k nav (220Hz beep), Enter (ascending triangle chime), and Esc (descending sine sweep) - shared.go: images are now thumbnails (max-height:220px) in list view and expand to full width inside the modal (CSS override in navmodal) - main.go: --list-themes flag prints all theme names and exits; --theme random picks a random theme at all generation time - themes.go: updated registry with plasma/volcano replacing minimal/paper Co-Authored-By: Claude Sonnet 4.6 --- internal/generator/theme_synthwave.go | 110 +++++++++++++++++++++++++++++----- 1 file changed, 94 insertions(+), 16 deletions(-) (limited to 'internal/generator/theme_synthwave.go') diff --git a/internal/generator/theme_synthwave.go b/internal/generator/theme_synthwave.go index 8798d18..366c5b5 100644 --- a/internal/generator/theme_synthwave.go +++ b/internal/generator/theme_synthwave.go @@ -1,7 +1,8 @@ package generator -// synthwaveTemplate is the 80s retrowave theme — dark purple sky, CSS perspective -// grid floor, hot pink/orange accents, Russo One font. +// synthwaveTemplate is the 80s retrowave theme — dark purple sky, WebGL +// perspective grid with a glowing sun and scan-line rings, hot pink/orange +// accents, Russo One font. The CSS sky and grid-floor divs are replaced by WebGL. const synthwaveTemplate = ` @@ -10,21 +11,13 @@ const synthwaveTemplate = ` snonux.foo ⊕ SYNTHWAVE + -
-
+
{{template "navmodal" .}} + {{template "navscript" .}} ` -- cgit v1.2.3