Commit graph

2 commits

Author SHA1 Message Date
vini
39bc5d0794 feat: chuva mode — moon, rain, lightning; clean transitions with balada
Rain mode with canvas rain, stormy sky, sun-to-moon transition and
lightning strobe. Mode switching fixed so only one of moon/globe shows:
file pollers are edge-triggered (stale /tmp files no longer fight),
toggle scripts keep the files mutually exclusive, exits fade fast while
entrances stay slow, drawGlobe solely owns globe opacity, and leaving
chuva restores the album-color theme on fog/horizon.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015HtPHsTnDcLVSCiF5FGHZj
2026-07-19 10:18:34 -03:00
vini
d422cea905 feat: balada mode — mirror ball, disco floor, spotlights, sun transition
- Mirror ball globe: canvas-based tile rendering with winner-takes-all
  specular lighting + Lambert diffuse edges; 8 orthogonal lights orbit
  slowly (~4 min/rev) ensuring no dark periods
- Disco floor tiles: per-frame alpha/color lerp (dt-based) decoupled from
  the 400ms randomization gate — eliminates choppy low-FPS appearance;
  smooth ~1.2s fade-in, ~2.4s color blending per tile
- Sun: organic JS-generated stripes (sqrt-spaced, perspective-correct),
  opacity crossfade overlay for retrowave↔balada gradient transition,
  slow position animation (rises to sky in balada mode)
- Spotlights, disco particles, ray rotation, beat pulse
- toggle-balada.sh / toggle-skeleton.sh: external IPC scripts via /tmp files

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-13 19:36:24 -03:00