Recitation 10–Tao Wen

This image requires alt text, but the alt text is currently blank. Either add alt text or mark the image as decorative.

The interaction I built is really simple. Basically, one turns the potentiometer around, and the picture is tinted accrodingly. However, reading the Cheese installation part, I have an idea about how my interaction could be potentially used for. If one smiles, the picture would turn light up accordingly and vice versa. The project could be used to show what people suffering from depression could see in their world, calling people’s attention to and care for this particular group.

Aruduino Part

void setup() {
Serial.begin(9600);
}

void loop() {
int sensorValue = map(analogRead(A0),0,1023,0,255);
Serial.write(sensorValue);
delay(10);
}

Processing Part

size(600, 600);
PImage photo;
photo = loadImage("budapest.jpg");
image(photo, 0, 0);
tint(0, 0, 255, sensorValue);
image(photo, 250, 0);

Leave a Reply