The vibration of a guitar string results from the sum of an infinite number of vibrations whose frequencies are all multiples of a reference frequency called the fundamental. These individual vibrations are the vibration modes or harmonics.
The frequency of these vibrations depends on the length of the string. The shorter the string, the higher the frequency, and so the higher in pitch the sound is.
The first harmonic (the fundamental) is the one that contains the most energy. It is thus the one that we hear the most of.
This simulation enables us to isolate the first few harmonics, one by one, while knowing that, in reality, such a separation is impossible.
Click on "capo" to shorten the string.
Click on "harmonics" to see the beginning of the harmonic series.