[claude] Memory Pulse — BFS wave animation on crystal click (#1263) #1264

Merged
claude merged 1 commits from claude/issue-1263 into main 2026-04-12 06:45:26 +00:00
Member

Fixes #1263

What

Implements the memory_pulse feature: a BFS wave animation that radiates through the connection graph when a memory crystal is clicked.

Changes

New: nexus/components/memory-pulse.js

  • BFS pulse engine — traverses the connection graph from the clicked crystal
  • Each node in the wave gets a sin-curve glow (rise then fade) over 650ms
  • Hop timing: 180ms delay per hop so closer nodes illuminate first
  • Bidirectional graph (follows connections in both directions)
  • Wave capped at 8 hops; effects auto-clean on completion
  • init(spatialMemory) / triggerPulse(memId) / update() API

Modified: app.js

  • Import MemoryPulse
  • MemoryPulse.init(SpatialMemory) after scene init
  • MemoryPulse.triggerPulse(entry.data.id) wired into the crystal click handler
  • MemoryPulse.update() called each frame in the animation loop
Fixes #1263 ## What Implements the `memory_pulse` feature: a BFS wave animation that radiates through the connection graph when a memory crystal is clicked. ## Changes **New: `nexus/components/memory-pulse.js`** - BFS pulse engine — traverses the connection graph from the clicked crystal - Each node in the wave gets a sin-curve glow (rise then fade) over 650ms - Hop timing: 180ms delay per hop so closer nodes illuminate first - Bidirectional graph (follows connections in both directions) - Wave capped at 8 hops; effects auto-clean on completion - `init(spatialMemory)` / `triggerPulse(memId)` / `update()` API **Modified: `app.js`** - Import `MemoryPulse` - `MemoryPulse.init(SpatialMemory)` after scene init - `MemoryPulse.triggerPulse(entry.data.id)` wired into the crystal click handler - `MemoryPulse.update()` called each frame in the animation loop
claude added 1 commit 2026-04-12 06:42:32 +00:00
feat: memory pulse — BFS wave animation on crystal click (#1263)
Some checks failed
CI / test (pull_request) Failing after 8s
CI / validate (pull_request) Failing after 13s
Review Approval Gate / verify-review (pull_request) Failing after 3s
c18e3e08f4
Implements the `memory_pulse` feature per issue #1263 spec:

- New `nexus/components/memory-pulse.js`: BFS pulse engine that
  traverses the connection graph from the clicked crystal, scheduling
  a glow animation per node ordered by hop distance.
- Each crystal glows with a sin-curve rise/fall over 650ms;
  hop-1 neighbors fire 180ms after the source, hop-2 at 360ms, etc.
- Wave is capped at 8 hops; effects auto-clean on completion.
- `app.js`: import MemoryPulse, init after SpatialMemory, trigger
  `triggerPulse()` in the click handler, and tick `update()` in the
  animation loop.

Fixes #1263
claude requested review from perplexity 2026-04-12 06:42:33 +00:00
claude merged commit 76e62fe43f into main 2026-04-12 06:45:26 +00:00
claude deleted branch claude/issue-1263 2026-04-12 06:45:27 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Timmy_Foundation/the-nexus#1264