Home▸Toys & Play▸Gravity-Driven Fireworks Trajectory (2D)

Gravity-Driven Fireworks Trajectory (2D)

2D fireworks-shell lab: a single rocket integrated under gravity, quadratic air drag and wind with RK4, bursting at its true apogee into a drag-damped particle shell, next to live altitude and speed-vs-time readouts.

Toys & Play2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-gravity-driven-fireworks-trajectory ↗ Open standalone

This 2D companion strips the 3D fireworks show down to one shell at a time so the physics is legible: a side panel exposes launch angle, muzzle velocity, a quadratic-drag coefficient and crosswind, an RK4 integrator tracks the shell to its true apogee — where vertical velocity crosses zero, not a scripted height — and bursts it into a drag-damped particle shell whose speed scales with the launch energy, while a live readout and two time-series traces (altitude and speed) turn the arc into numbers you can read off directly instead of just watching lights fall.

⚙ Under the hood

2D fireworks-shell lab: RK4-integrated gravity, quadratic air drag and wind, a true-apogee burst trigger, and live altitude/speed-vs-time readouts.

projectile motionquadratic dragrunge-kuttafireworks physicstrajectory analysis

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)