2016年2月25日 星期四

Week01 金博鈞

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();
  }
}

沒有留言:

張貼留言