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
This commit is contained in:
vini 2026-07-19 10:18:34 -03:00
parent 36220dc34f
commit 39bc5d0794
6 changed files with 320 additions and 23 deletions

View file

@ -1,2 +1,7 @@
#!/usr/bin/env bash
[ "$(cat /tmp/skeledance-balada 2>/dev/null)" = "1" ] && echo 0 > /tmp/skeledance-balada || echo 1 > /tmp/skeledance-balada
if [ "$(cat /tmp/skeledance-balada 2>/dev/null)" = "1" ]; then
echo 0 > /tmp/skeledance-balada
else
echo 1 > /tmp/skeledance-balada
echo 0 > /tmp/skeledance-chuva # modos são mutuamente exclusivos
fi