Code Monkey home page Code Monkey logo

leapjs-plugins's Introduction

LeapJS Plugins

This repository holds a collection of independent plugins which extend the functionality of LeapJS itself.

leap-plugins.js is a collection of amazing plugins to get you started quickly.

  • Hand Entry Emit events when a hand enters of leaves the field of view.
  • Hand Hold Save data on to hands or fingers which will be persisted between frames.
  • Screen Position Get the on-screen position of any point in Leap-space.
  • Version Check Ensure a minimum protocol version when running your app.
  • Playback Record hand-data from the Leap, compress it, and use it to animate your app.

leap-plugins-extras.js explores what can be done with LeapJS Plugins.

Other libraries

  • Rigged Hand Easily add virtual 3d hands to any web page with THREE.js.

Download

<script src="//js.leapmotion.com/leap-plugins-0.1.6.js"></script>
<script src="//js.leapmotion.com/leap-plugins-0.1.6.min.js"></script>

Usage

Include LeapJS >= 0.4.0 and either javascript file of an individual plugin or a collection. Configure your controller to use the plugin, and that functionality will be available to you. See hand-entry for docs on hand-entry itself.

<!-- your index.html -->
<script type="text/javascript" src="js/leap-0.4.0.js"></script>
<script type="text/javascript" src="js/lib/leap.hand-entry.js"></script>
<script type="text/javascript">
  new Leap.Controller()
    .use('handEntry')
</script>

Contributing

  • See README_DOCS for building the documentation (its one command!).
  • Make a fork, name your branch, add your plugin or fix.
  • Add your name, email, and github account to the CONTRIBUTORS.txt list, thereby agreeing to the terms and conditions of the Contributor License Agreement.
  • Open a Pull Request. If your information is not in the CONTRIBUTORS file, your pull request will not be reviewed.

leapjs-plugins's People

Contributors

pehrlich avatar maxsillslm avatar paulmand3l avatar robinboehm avatar tkaweski 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.