Skip to content

Diasporism/leap_motion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leap Motion Expirements

This is a playground application to experiment with Leap Motion's client side Javascript API. The application is a static HTML5, CSS, and Javascript site served up by a NodeJS server. The Javascript files are concatenated and minified by a Grunt task and served up from the public directory. See below for installation instructions.

Here's what it looks like in action: image

Pre-requisites

Installation

  1. Install the Leap Motion controller software found at https://www.leapmotion.com/setup.
  2. Clone the repo and install its dependencies:
$ git clone http://github.com/Diasporism/leap_motion.git
$ cd leap_motion/
$ npm install
  1. Plug in the Leap Motion controller.

Concatenate and Minify Javascript Files

$ grunt

Run the Server

Just type...

$ node server.js

and visit localhost:3000.

Production URL

If you don't feel like cloning the repo and running the server locally, you can visit the production website at http://leap-motion.herokuapp.com/ and play with it there.

Warning/Disclaimer

Currently, the website takes up a lot of computer resources due to the high framerate at which Leap Motion gathers data (up to 200 fps). If your computer starts to experience slowness, close the web page and things should go back to normal.

I'm still working on optimizing and tweaking the way Leap Motion gathers and displays data. Stay tuned for updates.

About

A playground for leap motion integrations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published