View the demonstration here: https://www.desmos.com/calculator/wcahao2vja All instructions are in the graph.
Thanks to 3Blue1Brown's video, "But what is the Fourier Transform? A visual introduction." (https://www.youtube.com/watch?v=spUNpyF58BY) and Sebastian Lague's video, "Coding Adventure: Sound (and the Fourier Transform)" (https://www.youtube.com/watch?v=iA6wRgwl7k0).