UNPKG

curtsy

Version:

Determine the direction of gestures for Leapjs.

41 lines (24 loc) 644 B
# Curtsy Simple library for determining the direction of a circle or swipe gesture for Leap Motion's Leapjs library. ## Supported Directions * Circle * Clockwise * Counter-Clockwise * Swipe * Left * Right * Up * Down * Forward * Back ## Install `npm install curtsy` ## Example ##### Cirle Direction Demo `node examples/circle.js` ##### Swipe Direction Demo `node examples/swipe.js` ## Future Plans * More advanced gesture direction (hand twist, flick, hand close, etc) ## Contribute If you have a feature you'd like to add or a gesture you'd like supported, submit an issue through GitHub or better yet, a pull request!