Skip to content

openleap/jitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jitter

Jitter

Jitter is a general purpose Java library for the Leap Motion Controller.

Its primary goal is to provide a user friendly front-end to the technical Leap details.

Its secondary goal is to buffer input from the Leap to throttle FPS down to a suitable level for an application.

Jitter is released under the LGPL with the hope that it'll be a useful community resource and project :-)

The MovingBlocks team behind Terasology is hosting a Jenkins build for Jitter with the latest jar download here

For a sample implementation see the Terasology prototype thread - if you use Jitter in a project please let us know so we can link to you!

Quick example for buffered Circle Gestures:

for (CircleGesture circleGesture : jitterBuffer.nextCircleBatch(2)) {
    if (JitterSystem.isClockwise(circleGesture)) {
        System.out.println("Processing a clockwise circle gesture");
    } else {
        System.out.println("Processing a counter-clockwise circle gesture");
    }
}

This fetches all pending circle gestures that have gone at least two entire trips around the circle then does different stuff depending on clockwiseness.

About

General purpose Java library for the Leap Motion

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published