Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stutrek/polevault
An api to recieve gesture events from a Leap Motion device
https://github.com/stutrek/polevault
Last synced: about 1 month ago
JSON representation
An api to recieve gesture events from a Leap Motion device
- Host: GitHub
- URL: https://github.com/stutrek/polevault
- Owner: stutrek
- Created: 2013-01-19T22:54:07.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-02-03T16:59:39.000Z (almost 12 years ago)
- Last Synced: 2024-04-17T09:25:31.321Z (7 months ago)
- Language: JavaScript
- Size: 218 KB
- Stars: 26
- Watchers: 6
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pole Vault
A library to simplify working with the Leap Motion detector. http://leapmotion.com
Pole Vault is a basic pubsub/observer. It monitors the Leap Motion detector and throws events when certain gestures are recognized.
`polevault.on( event, callback )`
## Events
* `frame` - a frame arrived from the detector.
### Hand Motions
* `punch` - a closed fist goes forward on a line then stops suddenly.
* `knock` - a closed fist moves down or forward while the wrist stays still
* `dribble` - an open hand goes down then stops, like a basketball.### Finger Motions
* `tap` - a finger goes down then stops suddenly.
* `point.start`, `point.end` - the only finger on a hand holds still for a moment.## Planned
* `wave` - a vertical hand rotates.
* `wave.start`
* `wave.stop`
* `shake` - a fist moves back and fourth quickly.
* `shake.start`
* `shake.stop`
* `pinch`, `spread`, `rotate`.### Planes
Create a plane with three points (or two and a direction) and receive events when it is crossed.
### Technical Difficulties
#### Coming
* `clap` - two hands close in on each other. _When two hands meet they they are detected as one._
* `hand/pointer.enter/exit` - _the device will randomly send one frame without a hand or pointer, or falsely report one for a single frame._#### Unlikely
* `sweep` - all fingers start to move suddenly in the same direction. _When fingers get too close to the palm the device is unable to detect them._