Skip to content

General functions when using the Leap Motion with JavaScript

Notifications You must be signed in to change notification settings

cwalk/LeapMotion-General

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

General functions when using the Leap Motion with JavaScript

YouTube

YouTube: https://www.youtube.com/watch?v=LOSTZZevH0U

Setup

Make sure you have nodejs and npm installed.

Make sure you have the Leap Motion SDK installed: https://developer.leapmotion.com/get-started

This is all using the V2 Desktop (and was developed on OSX Yosemite).

Install cylonjs, a robotics javascript framework. More info here: https://cylonjs.com

For more info on Leap Motion, check out: http://cylonjs.com/documentation/drivers/leapmotion/

Clone the directory: git clone https://github.com/cwalk/LeapMotion-General

Navigate to the directory and do an npm install and you should have cylon and cylon-leapmotion.

Usage

Run the files by using the command node filename.js

Each file does something a little different, so feel free to look through the code. This mostly includes ogging what the Leap Motion is receiving. You can change it to look for data in the frames, or down to just the hands and even palm_position.

Feel free to play with the scripts and see what data is given for each gesture, or the difference between hand and frame listeners!

About

General functions when using the Leap Motion with JavaScript

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published