This is a simulation of a vibrating string without damping. It uses numerical solution of a differential equation of a string.
Click on any point of the canvas to start the animation. Right-click (long press for mobile) on the canvas to stop the animation.