Firework Shell Trajectory & Burst

Fire a shell from a mortar tube: drag, wind and fuse delay decide the height and place of the burst. Real RK4 ballistics for the shell and every star.

Switch to 2D

Presets

Playback

Parameters

Camera

Layers

Quality

Model check

The science

What is modelled

A spherical aerial shell is fired from a mortar tube, climbs through air that slows it, and a time fuse bursts it into a sphere of burning stars. The page integrates the real equations of motion for the shell and for every star, so you can see how the tube angle, muzzle speed, drag, wind and fuse delay decide where and how high the burst opens.

Equations

  • Shell and stars: dv/dt = g − k |v − w| (v − w), with k = ρ Cd A / (2 m) in 1/m, g = 9.81 m/s² and wind velocity w.
  • Vacuum (k = 0) apex for a tube tilted by θ from vertical: H = v² cos²θ / (2 g); time to apex v cosθ / g.
  • Vertical shot with quadratic drag: H = ln(1 + k v² / g) / (2k); terminal speed vt = sqrt(g / k).
  • Burst: N stars leave on a Fibonacci sphere at speed vb relative to the shell centre. Momentum conservation means the mean star velocity equals the shell velocity at the moment of burst.
  • Stars have their own, much larger drag ks, so they decelerate within a second or two and then fall almost straight down (the glittering curtain after the burst).

Checks run in the page

  • RK4 vacuum apex against v² cos²θ / 2g within 0.1 %.
  • RK4 vertical shot with the current drag against the closed-form logarithm within 0.3 %.
  • The burst direction set: zero net momentum relative to the shell and mean kinetic energy exactly vb²/2.

Honest simplifications

The shell is a point mass with a constant drag coefficient (real shells spin, and drag depends on Mach and Reynolds number); the lift charge is replaced by a fixed muzzle speed; wind is uniform with height (the windsock only shows its direction); all stars of one burst share the same burn time within 15 percent and the same drag coefficient. The shell is drawn at the chosen magnification (default 12 times) so that it is visible; the real 150 mm shell is 15 cm across. Colours are the flame-test colours of the usual salts (strontium red, barium green, sodium gold, copper blue) and are not a chemistry simulation. This is an educational physics model, not a guide to building or firing anything.

What to try

  • Pick Vacuum and compare the yellow path with the dashed parabola: they coincide.
  • Default drag costs a visible fraction of the apex height; raise k to 0.005 and watch the path become asymmetric (steeper on the way down).
  • Add a 12 m/s wind: the shell leans downwind and the burst is displaced; graph 3 shows how the apex height depends on the tube angle.
  • Set the fuse too short or too long and see an early burst or a shell that falls back (a dud); tick Auto-burst at apex to find the ideal moment.
Loading model...
Loading Blender model...
Side view: real path vs vacuum parabola
Shell speed and vertical velocity vs time
Apex height vs tube angle
Made with 🟠 Blender · Three.js