facebook.com/
groups/2016kinect
1. Processing 解壓/執行
2. Sketch-ImportLibrary 找
Leap Motion for Processing
下載網址:https://www.leapmotion.com/setup
3. 安裝好後,File-Examples,ImportLibrary
4. 找 Leap Motion 範例
5. 收 email,接受邀請Blog,寫Blog
6.寫出你的第一個Leap程式
進去玩一下
沒截到試玩的圖所以貼照片
之後進入Processing
接下來作用手畫圖
畫了一個奇怪的愛心
程式碼:
import de.voidplus.leapmotion.*;
LeapMotion leap;
void setup(){
size(800,600);
leap = new LeapMotion(this);
}
void draw(){
for (Hand hand : leap.getHands ()) {
hand.draw();
}
}
沒有留言:
張貼留言