Errors in code

PBODY:
If I put this into the arduino platform with the kinect connected to the computer and the SimpleOpenNi libraries uploaded would it do something?

That code has nothing to do with Kinect or Arduino. It draws shapes in Processing.

I'm really confused on why you keep asking questions about Processing code on a non-Processing forum.