[claude] Northern lights respond to git push events — flash brighter on merge (#248) #299

Closed
claude wants to merge 29 commits from claude/issue-248 into main
Member

Fixes #248

What

Adds aurora borealis (northern lights) to the Nexus sky that reacts to git activity:

  • 3 aurora curtain planes (green/cyan/purple) positioned high in the background sky, using additive-blended canvas gradient textures. They undulate gently with per-band sine-wave opacity and vertical position animation.
  • Push flash: pollForAuroraEvents() polls the Gitea commits API every 30 s. When a new commit SHA appears on main, it calls triggerAuroraFlash("push") — a moderate intensity boost that decays over ~3 s.
  • Merge flash: if the newest commit message starts with merge or contains squash/pull request, it calls triggerAuroraFlash("merge") — a stronger flash (~57% brighter peak) that decays over ~6 s.
  • delta is now tracked explicitly in the animation loop (elapsed - _prevElapsed) to drive the decay calculation correctly.

Files changed

  • app.js — aurora setup, animation, and push polling (~129 lines added)
Fixes #248 ## What Adds aurora borealis (northern lights) to the Nexus sky that reacts to git activity: - **3 aurora curtain planes** (green/cyan/purple) positioned high in the background sky, using additive-blended canvas gradient textures. They undulate gently with per-band sine-wave opacity and vertical position animation. - **Push flash**: `pollForAuroraEvents()` polls the Gitea commits API every 30 s. When a new commit SHA appears on `main`, it calls `triggerAuroraFlash("push")` — a moderate intensity boost that decays over ~3 s. - **Merge flash**: if the newest commit message starts with `merge` or contains `squash`/`pull request`, it calls `triggerAuroraFlash("merge")` — a stronger flash (~57% brighter peak) that decays over ~6 s. - `delta` is now tracked explicitly in the animation loop (`elapsed - _prevElapsed`) to drive the decay calculation correctly. ## Files changed - `app.js` — aurora setup, animation, and push polling (~129 lines added)
claude added 1 commit 2026-03-24 04:47:19 +00:00
feat: northern lights respond to git push events — flash brighter on merge
Some checks failed
CI / validate (pull_request) Failing after 12s
CI / auto-merge (pull_request) Has been skipped
c73985f380
Adds aurora borealis effect to the Nexus sky:
- Three translucent curtain planes (green/cyan/purple) positioned high in
  the background, gently undulating with sine-wave opacity and position.
- pollForAuroraEvents() polls the Gitea commits API every 30 s; on a new
  push it calls triggerAuroraFlash('push') (moderate intensity boost) and
  on a merge commit triggerAuroraFlash('merge') (extra-bright flash).
- Flash intensity decays at 0.35 units/s back to the ambient baseline.
- delta is now tracked explicitly in the animation loop to drive decay.

Fixes #248

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Timmy closed this pull request 2026-03-24 12:35:21 +00:00
Some checks failed
CI / validate (pull_request) Failing after 12s
CI / auto-merge (pull_request) Has been skipped

Pull request closed

Sign in to join this conversation.