GithubHelp home page GithubHelp logo

sharner / meteor-leapmotion Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kevohagan/meteor-leapmotion

0.0 1.0 0.0 200 KB

This package adds leapjs support with the awesome leap-cursor-library from @aphex

CSS 0.73% JavaScript 99.27%

meteor-leapmotion's Introduction

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.

meteor-leapmotion's People

Contributors

kevohagan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.