〰️ 2D String Physics — Wave Equation & Real FFT Harmonics
🎻 See the 3D version
—
f₀ theory (Hz)
—
FFT peak (Hz)
—
Sample rate (Hz)
0.0
Amp (px)
String parameters
Tension T
400
N
Linear density μ
0.0010
kg/m
Length L
1.00
m
Damping
0.998
Pluck position (determines which harmonics survive)
Position p
0.30
· L
Pluck
Reset
Pause
Harmonics n with p ≈ k/n (node at the pluck point) are suppressed:
—
Pure harmonic (for comparison)
Wave equation:
∂²y/∂t² = (T/μ)·∂²y/∂x²
Wave speed:
c = √(T/μ)
Harmonics:
fₙ = n·c/(2L)
The spectrum below is a real FFT of the string's simulated motion at a fixed pickup point, sampled at the physics solver's own timestep — not a drawn or precomputed curve.