A picture of the keyboard is coming here soon.
// * This makes color drops. Use Left, Down, and Right to
// * change the Red, Green, and Blue values by 15 points
// *
// * Emily Grenader
// * Created September 2005
// * Advanced Interactive Design Concepts : Pitaru

void setup() {
size(screen.width, screen.height);
}
color fillVal = color(0);

int red_val = 0;
int green_val = 0;
int blue_val = 0;

void draw() {

fill(fillVal);
rect(0, 0, 1400, 1400);

}void keyPressed() {
if ((red_val>255) && (green_val>255) && (blue_val>255)) {

red_val=0;
green_val=0;
blue_val=0;
}
if (keyCode == LEFT) {
red_val = red_val+ 15;
color reddropper = color(red_val, green_val, blue_val);
fillVal = reddropper;
}
else if (keyCode == DOWN) {
green_val = green_val +15;
color greendropper = color(red_val, green_val, blue_val);
fillVal = greendropper;
}
else if (keyCode == RIGHT){
blue_val = blue_val + 15;
color bluedropper = color(red_val, green_val, blue_val);
fillVal = bluedropper;
}
}

ASSIGNMENT 1:

8 September 2005

Modify a mouse/keyboard towards a new input device for a computer, and use it to control either an existing computer software or a new one that you've written (in Flash/Processing/Director/C++ or other). The goal of this assignment is to examine the relationship between the physical shape of an interface device and the tasks that it is designed for. Think about Input/Output/Mapping/Energy.

To the left is the code for the first assignment. A new interface for it is the
third assignment. When you push the dropper, the screen color changes. The left is "R", center is "G" and right is "B". The interface is just a keyboard witht he keys removed. Glass eye droppers have a piece of wood inside that is connected to a wire nut. When you tap the wire nut, the key is pressed. This project looks really nice when it is projected because the entire room changes color cast.

Here's the Java App created in Processing. Use the arrow keys to change colors.

Now, go back the the ID page, or go back to emilygrenader.com.