Home▸Physics & Mechanics▸Standing Waves in an Air Column (2D)

Standing Waves in an Air Column (2D)

Interactive 2D simulator of standing sound waves in a resonating air column: switch between open-open, closed-closed and closed-open (stopped) pipes, sweep the mode number and pipe length, and watch the displacement and pressure envelopes and their nodes/antinodes update live from the real quarter-wave and half-wave resonance formulas.

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

This is the 2D-native counterpart to the 3D standing-wave string simulator. Instead of a transverse wave pinned at both ends of a string, it models a longitudinal sound wave resonating inside a pipe, where each end can independently be open (air free to move, a displacement antinode) or closed (air trapped, a displacement node). Switching between open–open, closed–closed and closed–open geometries changes which harmonics the pipe can sustain — every integer multiple for the first two, only odd multiples for a stopped pipe — and the mode-number, pipe-length and sound-speed sliders drive the exact quarter-wave and half-wave resonance formulas live, drawn as genuine 2D displacement and pressure envelopes with their nodes and antinodes marked, rather than a rendered 3D object.

⚙ Under the hood

A 2D longitudinal-wave simulator of standing sound waves in a resonating air column: switch between open-open, closed-closed and closed-open (stopped) pipes, sweep the mode number, pipe length and speed of sound, and watch the displacement and pressure envelopes and their nodes/antinodes update live from the real quarter-wave and half-wave resonance formulas.

standing wavesresonanceair columnacousticsnodes and antinodes2D

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

What did you find?

Add reproduction steps (optional)