Fireworks & Perlin Noise

Click anywhere on the dark canvas below to launch fireworks. Scroll to the center of the screen to see the perlin noise fields warp the explosion trajectories.

Technical Features

Perlin Noise Vector Fields

Uses p5's 1D/2D Perlin Noise generator to calculate smooth, non-uniform offsets. Rather than standard random motion, particles follow organic, flowing wind currents.

Particle System Dynamics

Each firework spawns 100 individual tails. Each tail tracks position vector offsets, diameter variation, individual color array configurations, velocity decay, and custom gravity forces.

Dynamic Fade Trails

Maintains an infinite accumulation loop but draws a semi-transparent black background (`0, 10`) on every frame, resulting in glowing trailing tails behind moving particles.

p5.js
Perlin Noise
Vector Math
Interactive Canvas