float a = 100;
void setup()
{
size(640, 200);
stroke(255);
}
void draw()
{
background(51);
a = a - 0.5;
if (a < 0) {
a = height;
}
line(0, a, width, a);
}
If I put this into the arduino platform with the kinect connected to the computer and the SimpleOpenNi libraries uploaded would it do something?
or would I have to utilize something else?
I got the code from processing.org
I hope this isn't incorrect and you can understand what I am trying to ask.