← All simulations
Mechanics / WAVE EQUATION

Vibrating String: Standing-Wave Studio

See harmonics and reflection emerge on a string with fixed endpoints.

INTERACTIVE · CANVAS · REAL MATH
Simulation viewport2D / REAL-TIME
DRAG SLIDERS TO EXPERIMENT

How this simulation works

A one-dimensional wave equation governs the motion of a stretched string. Here a finite-difference update makes waves propagate and reflect, while a periodic drive can excite resonances.

∂²y/∂t² = c² ∂²y/∂x² − damping · ∂y/∂t
✦ TRY THIS EXPERIMENTTune the drive frequency to a resonant mode and watch the amplitude rise.
Made with 🤖 ChatGPT