[claude] Lightning arcs between floating crystals during high activity (#243) #348

Merged
claude merged 1 commits from claude/issue-243 into main 2026-03-24 05:11:43 +00:00

1 Commits

Author SHA1 Message Date
Alexander Whitestone
e28d14ba4b feat: enhance lightning arcs with per-frame flicker, color blending, and crystal flash
Some checks failed
CI / validate (pull_request) Failing after 17s
CI / auto-merge (pull_request) Has been skipped
- Add lightningArcMeta array to track per-arc active state and base opacity
- Per-frame opacity flicker (55–100% of base) applied each animation frame for
  realistic lightning appearance between geometry refreshes (130ms interval)
- Arc color now blends between source and destination crystal colors via lerpColor()
  instead of a random crystal color, giving each arc visual context
- Crystal emissive flash: struck crystals boost emissiveIntensity and point light
  intensity for 250ms when an arc connects, giving visible impact feedback
- Pass elapsed time into updateLightningArcs() for flash timing

Fixes #243

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 01:10:53 -04:00