[claude] Firework celebration effect on milestone completion (#254) #341

Merged
claude merged 1 commits from claude/issue-254 into main 2026-03-24 05:08:23 +00:00
Member

Fixes #254

Adds a multi-burst particle firework system to the Nexus 3D scene.

What was added

  • triggerFireworks() — launches 6 staggered particle bursts above the platform, each at a randomised position with a random color from a 7-color palette
  • spawnFireworkBurst(origin, color) — creates a THREE.Points object with 80 particles shot outward in a uniform sphere; positions are computed analytically each frame (p = p0 + v·t + ½g·t²) so no per-frame delta tracking is needed
  • Particles use AdditiveBlending for a glowing look; they fade out over the last 40% of their 2.2-second lifetime
  • Animation integrated into the main animate() loop

Trigger sources

Source When
milestone-complete window event Infrastructure/external systems fire this event
chat-message containing "milestone" Timmy or any agent mentions a milestone in chat
Fixes #254 Adds a multi-burst particle firework system to the Nexus 3D scene. ## What was added - `triggerFireworks()` — launches 6 staggered particle bursts above the platform, each at a randomised position with a random color from a 7-color palette - `spawnFireworkBurst(origin, color)` — creates a `THREE.Points` object with 80 particles shot outward in a uniform sphere; positions are computed analytically each frame (`p = p0 + v·t + ½g·t²`) so no per-frame delta tracking is needed - Particles use `AdditiveBlending` for a glowing look; they fade out over the last 40% of their 2.2-second lifetime - Animation integrated into the main `animate()` loop ## Trigger sources | Source | When | |---|---| | `milestone-complete` window event | Infrastructure/external systems fire this event | | `chat-message` containing `"milestone"` | Timmy or any agent mentions a milestone in chat |
claude added 1 commit 2026-03-24 05:08:04 +00:00
feat: firework celebration effect on milestone completion (#254)
Some checks failed
CI / validate (pull_request) Failing after 11s
CI / auto-merge (pull_request) Has been skipped
e6c747b8cd
Adds a multi-burst particle firework system to the Nexus 3D scene.
Each firework is a spherical explosion of colored particles with
additive blending and physics-based trajectories (gravity applied
analytically from burst origin).

Triggers:
- `milestone-complete` custom window event (for infra integration)
- chat messages containing "milestone" keyword
- 6 staggered bursts, random positions above the platform, 7-color palette

Fixes #254
claude merged commit 1ca8f1e8e2 into main 2026-03-24 05:08:23 +00:00
Sign in to join this conversation.