Home▸Physics & Mechanics▸Sonic Boom & Mach Cone Simulator (2D)

Sonic Boom & Mach Cone Simulator (2D)

Interactive 2D sonic boom simulator: fly a source through subsonic, transonic and supersonic speeds and watch its circular pressure wavefronts bunch into a visible Mach cone, with a live Mach number, cone half-angle, and a ground-observer N-wave boom waveform.

Physics & Mechanics2DModerate60 FPS📱 Mobile-adapted💨 Air & Wind⇄ 3D version
2d-3d-sonic-boom-shockwave ↗ Open standalone

This 2D companion to the site's 3D sonic boom simulation strips the phenomenon down to its geometry: a source flies left to right at a chosen Mach number while a fixed-speed circular wavefront expands from every point it has ever occupied. Below Mach 1 those circles stay nested and spread apart — ordinary Doppler-shifted sound. Push the speed slider past Mach 1 and the circles visibly pile up into a V-shaped Mach cone trailing the source, its half-angle shrinking as θ = arcsin(1/M) with increasing speed. A ground observer marker sits below the flight path; every time the expanding wavefronts reach it, the small chart underneath plots the resulting pressure — a single sharp compression-then-rarefaction N-wave once the cone is sweeping past supersonically, versus a gentler, more spread-out ripple at subsonic speed. An altitude slider raises or lowers the flight path relative to the observer, changing how spread out or concentrated the boom arrival is.

⚙ Under the hood

Interactive 2D sonic boom simulator: fly a source through subsonic, transonic and supersonic speeds and watch its circular pressure wavefronts bunch into a visible Mach cone, with a live Mach number, cone half-angle θ = arcsin(1/M), and a ground-observer N-wave boom waveform.

physicssonic boommach coneshockwavesupersonicaerodynamics2D

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

What did you find?

Add reproduction steps (optional)