Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
This package adds leapjs support with the awesome leap-cursor-library from @aphex
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
css
js
README.md
package.js
smart.json

README.md

Meteor-leapmotion

Leapjs packaged for meteor.

Installation

The Leapjs package can be installed with Meteorite. From inside a Meteorite-managed app:

$ mrt add leapmotion

Usage

This package adds leapjs support with the awesome leap-cursor-library from @aphex see LeapJS and LeapManager for more info

Go here for some examples of leapJS : http://js.leapmotion.com/examples

You do have to include some code in your client directory

Meteor.startup(function(){
        LeapManager.init({});
});

you can then go into a more advanced setup :

Meteor.startup(function(){
        LeapManager.init({
            interactiveSelector:"a",
            enableMetaGestures: false,
            maxCursors:1
        });

});

check out the leap cursor library API here : https://github.com/aphex/leap-cursor-library.js/blob/master/src/js/leap-manager.js#L1011

Styling the cursor

Basic styling is included by default, but it is very easy to override it just by changing the CSS for .leap-pointable-cursor and .leap-pointable-cursor:after More info in the leap-manager.css file.

Something went wrong with that request. Please try again.