Further experiments with Seurat. The code is better organized, and I have more control over “artistic” parameters such as color velocity, particle spacing, and alpha transparency.
I’m making progress on the black box to control Seurat. Below is the left half of a recent frame from the program, and below that is a photo of the black box, a breadboard with a small circuit, and an Arduino board.
There are four knobs on the box, two of which are hooked up and two switches which I will mount later. One switch selects the bank of controls to use (I have only six, the number of analogue input pins on the Arduino board). At present I can control color, object size, and frame rate with the knobs and switches. To add: alpha, color velocity, a selector shape.
The Processing sketch from which the frame above was taken now has a name: Seurat. It has controls (radius and frame rate) that can be operated by the slider (linear potentiometer) and the joystick on an Arduino Esplora board. Arduino reads the sensor data and sends it to Processing over the serial (USB) port.
The next step in this project is to build a box with lots of knobs and switches to control Seurat via a standard Arduino board.
Credits: Jeremy Blum’s blog was a great help in figuring out how to make Arduino talk to Processing. Mark Frauenfelder post at boingboing.net has a useful (and fun) video on how to make a good enclosure for the electronics.
I’ve made many improvements to the Processing code for this “installation.” There are now controls that one can fiddle with to interact with the installation as it runs. Next project: build a control box with dials and switches to operate the controls. See Seurat, Square for progress on the black box.
Code at gitHub in the seurat folder.
Below are the title and abstract for my presentation at the STEAM Factory Saturday, April 27, in Columbus Ohio (400 Rich Street).
Title: Processing Art
Abstract: We present an interactive art installation and offer a description of how it is constructed. A rapidly changing sequence of images is generated by via a computer program using mathematical principles — scaling, randomness, superposition of periodic waves, dynamics on a torus. These buzzwords and principles aside, the spectator-participant can interact with the program by tuning the color scheme and changing the letters and shapes generated. (If you like an image, we can save it and email it to you.) Code at github.
Acronym decode: STEAM = Science, Technology, Engineering, Art, and Mathematics
Frame 1089 of a Processing animation. Code at github. Each square contains a number of particles whose position and color undergo Brownian motion. The radius of the particles follows a periodic sawtooth function. The overlay color of each square varies periodically and is determined by the position of an imaginary particle traversing a periodic path on a 2 or 3-dimentional torus in RGB space. The tempo of the animation oscillates periodically with a long period on the order of tens of thousands of frames.
This “work” will be shown at an installation at the STEAM Factory in Columbus, Ohio, on April 27.
zipTimer: an iPod/iPhone app for pacing piano practice, cooking, workouts, you name it.