import de.voidplus.leapmotion.*;
LeapMotion leap;
void setup(){
size(800, 600);
leap = new LeapMotion(this);
}
void draw(){
background(255);
//fill(156);
//rect(200, 400, 100, 100);
for( Hand hand : leap.getHands() ){
hand.draw();
for( Finger finger : hand.getFingers() ){
finger.draw();
}
}
}
沒有留言:
張貼留言