P語言結合Leap Motion
import de.voidplus.leapmotion.*;
int x;
LeapMotion lp;
void setup()
{
size(800,600,P3D);
lp=new LeapMotion(this);
}
void draw()
{
background(255);
for(Hand hand:lp.getHands())
{
hand.draw();
}
}
沒有留言:
張貼留言