2015年3月9日 星期一

第一周體感 LEAPMOTION


import de.voidplus.leapmotion.*;
LeapMotion leap;

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

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

沒有留言:

張貼留言