Leap Motion Development (Rohan Puri)

15

description

 

Transcript of Leap Motion Development (Rohan Puri)

  • Leap Motion Details
  • Inside
  • Raw Data
  • Leap JS 1. Create a 2D Canvas to draw on var c = canvas.getContext('2d'); 2. Create the leap controller var controller = new Leap.Controller(); 3. Start the controller controller.on( 'ready' , function(){ // CODE HERE }); 4. Loop Drawing Animations
  • Leap Geometric System
  • Leap Geometric System
  • Gestures
  • Gestures
  • Example Code Snippet http://localhost:8000/leapsimple/pointer.html
  • Gestures Swipe Right ScreenTap KeyTap Circle
  • Hand Parameters
  • Example http://js.leapmotion.com/example s/parcoords.html
  • Hand Parameters
  • Example http://js.leapmotion.com/examples/visualizer. html