Guitar Strings

Models a plucked guitar string as damped harmonic motion: y(x,t) = amplitude · e−decay·t · sin(kπx/L) · cos(ωt), where each of the 6 strings has its own thickness, fundamental frequency and amplitude (thicker bass strings swing slower and wider). Every frame the displacement formula is evaluated along each string's length and a new TubeGeometry is rebuilt from the resulting curve, while a sequencer automatically plucks single notes or strums multi-string chords at a fixed interval.

Strings6 Segments / string64 RenderTubeGeometry, rebuilt/frame ModelDamped harmonic oscillator Pluck interval1.7s