Wave on a String

Interactive simulation — adjust parameters and watch the visualization update in real time.

How it works

Discrete wave equation on a string with one driven end and one fixed end. Adjust frequency to see traveling pulses, reflections, and (with light damping) patterns resembling standing waves when the drive matches approximate resonance conditions.

Key equations

∂²y/∂t² = c² ∂²y/∂x² − γ ∂y/∂t
Fixed string (both ends) fundamental f₁ = c/(2L). Here the left end is driven, so the spectrum differs — use f as a sweep knob.