[claude] Firework celebration effect on milestone completion (#254) #341
Reference in New Issue
Block a user
Delete Branch "claude/issue-254"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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 palettespawnFireworkBurst(origin, color)— creates aTHREE.Pointsobject 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 neededAdditiveBlendingfor a glowing look; they fade out over the last 40% of their 2.2-second lifetimeanimate()loopTrigger sources
milestone-completewindow eventchat-messagecontaining"milestone"