程式碼:
import de.voidplus.leapmotion.*;
LeapMotion leap;
void setup(){
size(800, 500, P3D);
background(255);
leap = new LeapMotion(this);
}
void draw() {
background(255);
int fps = leap.getFrameRate();
for (Hand hand : leap.getHands ())
{
hand.draw();
}
}
沒有留言:
張貼留言