Fireworks Controls
Fun Presets
Each preset adjusts multiple settings for unique effects!
Trig Inspector

Sample Particle

Click or tap to launch a firework. This panel samples one burst particle and shows the trig behind its motion.

Phase Waiting
Time t 0.00 s
Angle (deg) --
Angle (rad) --
Speed v --
cos(theta) --
sin(theta) --
Initial vx --
Radial vy --
Upward boost --
Initial vy --
Current x --
Current y --
Current vx --
Current vy --

Formula Breakdown

vx0 = v * cos(theta) = --
vy(radial) = v * sin(theta) = --
vy0 = vy(radial) - upwardBoost = --
Frame step: x += vx * dt, y += vy * dt

Screen coordinates use positive y downward, so a negative vy moves the particle upward.