Processing
Generative art piece based on audio input. The program was written in the Processing programming language, and draws polygons on the screen in response to audio input. The program reads in audio input at a rate of 30 times per second, and the size, color, and number of sides of each polygon is based on the amplitude and frequency of the audio input. If the amplitude of the current input is greater than that of the previous input, the polygon is drawn larger, and with a greater number of sides (starting from a minimum of three, with no maximum), or if the amplitude if less, the polygon decreases in size and number of sides. If the frequency of the audio input is above a certain threshold, the polygons are drawn with progressively cooler colors, while lower frequencies result in warmer colors. This generative art piece was displayed as part of an exhibit of projects created by the Interactive Programming class. It was installed up in the hallway of the Communications Building of Northampton Community College, and took in input from a microphone set up in the hallway.