2016年2月25日 星期四

02163042_王冠閔 Week 01


測試環境

1.Processing 解壓/執行
2.Sketch-ImportLibrary找Leap Motion for Processing
3.安裝好,File-Examples,ImportLibrary
4.找Leap Motion範例
5.找Leap APP/youtube找別人的作品,思考其中作品














自己寫Leap程式


import de.voidplus.leapmotion.*;

LeapMotion leap;

void setup() {
  size(800, 500);
  leap = new LeapMotion(this);
}

void draw() {
  background(255);
  for (Hand hand : leap.getHands ()) {
    hand.draw();
  }
}

畫出手↑↑



沒有留言:

張貼留言