This page requires audio input from the mic. Click below to enable it.
BASINS
About
This is a simulation of a system with a huge number of possible states. Each pixel in the 260 x 260 grid can be any one of 7 colors, so in all there are 7^67600 possibilities. This simulation proceeds by picking a pixel at random, scoring it, and changing it if its score is lower than the audio input level. The score is actually a combination of two scores - symmetry score and match score. The symmetry score is based on how many of the symmetric pixels in the 4 quadrants of the grid are the same color as the pixel in question, and the match score is based on the total percentage of that color in the grid. Depending on the audio level, certain states are stable, meaning that every pixel's score is greater than the audio level, so no pixels will change. Increasing the audio level can then "bump" the system out of that stable state and eventually into another one. Because of the match score, a symmetric grid will be more stable if it is made of fewer colors. And the most stable state is a grid that is all one color - you'll have to get loud to knock the system out of one of those states.
The point of the simulation is to think about the dynamics of systems with multiple stable states and the "basins of attraction" that drain into these states. If the grid is 90% one color it is almost certainly in the basin of attraction of the stable state where the grid is 100% that color. And stable states that are less stable can be inside the basin of attraction for a more stable state. I think I might be talking in circles now, but hopefully you can get the idea by playing with the system. It's interesting to think about how early random changes might constrain the system to "go" a certain direction - to end up in some basin of attraction, with no way to go backwards unless there is a big input of energy (sound in this case).
A challenge: try to get it to be just one color.
Try playing your favorite song on your computer speakers!
ONLY WORKS ON FIREFOX AND CHROME CURRENTLY, SORRY SAFARI.