import de.voidplus.leapmotion.*; //use all leapmotion
LeapMotion lp;
void setup(){
size(800, 600, P3D); //create a window 800x600
lp = new LeapMotion(this);
}
void draw(){
background(255);
//C# loop (good!)
for (Hand hand : lp.getHands()){
hand.draw(); //show hands
}
}
沒有留言:
張貼留言