https://drive.google.com/file/d/0ByYbu0zjxrp1NVNfb1NGMDB6X2c/view?usp=sharing
>解壓縮
寫出簡短的能偵測到十根手指頭的小程式。
程式碼如下:
import de.voidplus.leapmotion.*;
LeapMotion lp;
void setup(){
size(800,600, P3D);
lp=new LeapMotion(this);
}
void draw()
{
background(255);
for(Hand hand : lp.getHands())
{
hand.draw();
}
}
沒有留言:
張貼留言