2015年3月2日 星期一

Week01_體驗體感遊戲和10行程式

import de.voidplus.leapmotion.*;

LeapMotion leap;

void setup() {
  size(800, 500, OPENGL);
   leap = new LeapMotion(this);
}
void draw() {
  background(255);
  for (Hand hand : leap.getHands ())
  {
    hand.draw();
  }
}

沒有留言:

張貼留言