One string plays many notes at once. Switch them on one by one and watch the shape, and the sound, change.
A string fixed at both ends can only wobble in whole loops. One loop is the base note. Two loops is twice as fast, three is three times as fast, and so on.
The gold line on top is all the switched-on patterns added together. Real strings also fade over time, which this picture leaves out.
Keep watching