Home▸Sound & Music▸Guitar String Pluck Simulation (2D)

Guitar String Pluck Simulation (2D)

Six real guitar-string frequencies (E2–A2–D3–G3–B3–E4) rendered as an ideal plucked string: a Fourier sum of harmonics whose amplitudes come from where you pluck, each decaying at its own rate.

Sound & Music2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-guitar-string-pluck-simulation ↗ Open standalone

This 2D companion replaces the 3D scene's decorative wood-body model with the physics itself: each of the six strings plays its real guitar-tuning frequency, and a pluck is synthesized as the exact Fourier sum an ideally plucked string produces at that pluck point, with higher harmonics fading faster than the fundamental — the same behavior a real string exhibits.

⚙ Under the hood

Canvas2D plucked-string lab: six real note frequencies, a triangular-pluck Fourier decomposition into harmonics, and live tension, pluck-position and damping controls.

plucked stringfourier synthesisstanding waveharmonics

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

What did you find?

Add reproduction steps (optional)