3D Fireworks

A launch rack fires five kinds of shells: drag, wind and burst patterns with real star physics. Click the sky to fire there.

Switch to 2D

Presets

Playback

Parameters

Camera

Layers

Quality

Model check

The science

What is modelled

A launch rack fires aerial shells of five kinds. Each shell climbs with air drag and wind, a fuse bursts it at its apex, and hundreds of stars fly out in a pattern (sphere, ring, heart, palm arms, willow). Every star is integrated with its own air drag, so the burst first expands, then slows and the glowing trails sag under gravity.

Equations

  • Shells and stars: dv/dt = g − k |v − w| (v − w), k = ρ Cd A / (2m). Shell k = 0.002 1/m; stars ks = 0.005 to 0.08 1/m (small, light, very draggy).
  • Apex of a vertical shot: H = ln(1 + k v²/g) / (2k), so the lift-off speed for a chosen burst height is v = sqrt((g/k)(e2kH − 1)). Clicking the sky solves tilt, azimuth and speed numerically so that the apex lands on the clicked point.
  • Drag-only expansion of a star leaving at speed v: r(t) = ln(1 + ks v t) / ks and v(t) = v / (1 + ks v t); the graphs compare the simulated cloud with this formula (the small difference is gravity and wind acting on a nonlinear drag).
  • Terminal fall speed of a star: vt = sqrt(g / ks); for ks = 0.025 that is about 20 m/s, which is why the willow droops so slowly.
  • Burst colours follow the flame-test chemistry: strontium red, barium green, sodium gold, copper blue, lithium crimson, aluminium white.

Checks run in the page

  • Drag-only star expansion by RK4 against the logarithm, within 0.1 %.
  • Terminal speed of a star by 40 s of RK4 against sqrt(g/k), within 0.5 %.
  • Zero net momentum of the symmetric shell patterns (peony, ring, heart, willow) in the shell frame.

Honest simplifications

Stars are points with constant drag and a fixed burn time (real stars lose mass as they burn, and their colour depends on temperature and composition); the shell is a point mass that bursts exactly at the fuse time; wind is uniform with height; the trails are short additive sprites, not smoke. Shells are drawn ten times larger than real so you can see them. The page shows physics and a visual model only; it contains no instructions for making or firing fireworks.

What to try

  • Click the sky to fire a shell at that spot; choose Heart or Ring and rotate the camera to see the shape is planar.
  • Raise the star drag: the cloud stops expanding sooner and the stars fall as a curtain.
  • Use Windy night to see the whole cloud drift while it expands.
  • Watch graph 2: the simulated radius follows the logarithmic drag-only curve before gravity bends it.
Loading model...
Loading Blender model...
Stars alive vs time
Cloud rms radius: simulation vs drag-only formula
Mean kinetic energy per star vs time
Made with 🟠 Blender · Three.js