Changes

Jump to: navigation, search

Students/Javier Lee

13 bytes added, 04:04, 20 March 2010
Code
Our society has begun to come to an age where we are less interactive with each other physically. For example, instead of trying to see each other, we text or call making the interaction less intimate. My project idea is an interactive piece where the user has to actually face the project and interact with it making it, in a sense, a personal and intimate relationship. I want to create a project where I sew a push button into a glove and use the arduino to program into processing the codes that will display how many times I have been in contact with people throughout the day. Everyone time someone shakes hands with the user, the button is pushed which will start to count how many have come into contact with the user. I want to document several different people to see the trends, including how they communicate with each other. (shake, high five, fist bump, etc...)
===Code===
import processing.serial.*;
Serial port;
int buttonValue = 0;
int prevButtonValue = 0;
void setup(){
size(300500,500700);
//String portName = Serial.list()[0];
println(Serial.list());
port = new Serial(this, Serial.list()[0], 9600);
font = loadFont("BerlinSansFBDemi-Bold-250.vlw");
textAlign(CENTER);
textFont(font);
}
void draw(){
background(153);
prevButtonValue = buttonValue;
}
void drawGraph(){
if (port.available() > 0) {
value = port.read();
print(value);
}
if (value !== 10){ buttonValue++;
value = buttonValue;
buttonValue++;
}
}
===Visual===
82
edits

Navigation menu