2014年3月10日 星期一

第四週上課內容

todo (1) 安裝processing
        
         (2) leap motion

a.
在 processing 中搜尋: coll...

add libray (1) BRgTal , 再裝 PeasyCam  ,  example:  Rotating RigidBody ,可用 mouse空白
         
                 (2)Computational Geormetry ,example Isosurface Example 可用 mouse
         
                 (3) Super Collider

b.
也裝 leap Motion for processing

開啟新程式,打以下程式:

import de.voidplus.leapmotion.*;

Leapmotion leap;

void setup(){

size(800,500,P3D);
background(255);

leap = new LeapMotion(this);                                                    

}
void draw(){
for(Hand hand:leap.getHand()){

 hand.draw();
  }
}

                                    1.





                                 

                                      2.





 

沒有留言:

張貼留言