In this example, we're going to create a visualization that shows the amplitude of the individual frequencies of the currently playing audio. For each frequency, the height of a particle and its color will change to reflect the amplitude. The result looks something like the following screenshot:
In this screenshot, you can see the lower frequencies to the left and the higher frequencies to the right. As you can see, the height and color of the individual particles are different. In the following couple of sections, we'll see how to do this.
Let's start simple and create a