Leap into the future with Leap Motion

Sudo Soldiers

04.16.2014

Welcome.

Today's plate

  • Leap Motion
  • Leap Motion SDK
  • Getting on the bandwagon
  • Demos!

Rukmal Weerawarana

Colombo, Sri Lanka

Freshman, UW

Computer Science?

http://rukmal.me/

http://github.com/rukmal/

What is it?

Who uses it?

SpaceX

Right now, we interact with computers in a very unnatural 2D way.
With the Leap Motion Controller, you can really apply your intuition and something from your mind to a physical object with far greater ease than we currently do.

- Elon Musk

How do I get started?

What languages can I use it with?

  • C++
  • C#
  • Objective C
  • Java
  • JavaScript
  • Python

LeapJS

Getting started...

HTML



					

JavaScript


var controller = new Leap.Controller({
	enableGestures: true
});

controller.connect();
					

The loop


var controller = new Leap.Controller({
	enableGestures: true
});

controller.connect();

// the Leap Motion loop
controller.on('frame', function (frame) {

});
					

Frame is everything

3 things

  • Tools
  • Fingers
  • Hands

Gestures

The Fantastic Four

  • CircleGesture
  • SwipeGesture
  • ScreenTapGesture
  • KeyTapGesture

Let's make something!

Demos

Flappy Leap Bird - Rukmal Weerawarana


Leap Theremin - Grant Timmerman


Leap Pong - Grant Timmerman & Rukmal Weerawarana

Thank you!

Questions?

http://rukmal.me/

http://github.com/rukmal/