Comments (5)
Ok, it was quite simple:
package LeapTest;
import processing.core.PApplet;
import processing.core.PVector;
import com.onformative.leap.LeapMotionP5;
import com.leapmotion.leap.Finger;
public class LeapGestures extends PApplet{
private static final long serialVersionUID = 1L;
LeapMotionP5 leap;
public void setup() {
size(500, 500);
leap = new LeapMotionP5(this);
}
public void draw() {
background(0);
fill(255);
for (Finger finger : leap.getFingerList()) {
PVector fingerPos = leap.getTip(finger);
ellipse(fingerPos.x, fingerPos.y, 10, 10);
}
}
public void stop() {
leap.stop();
}
}
from leapmotionp5.
the current gesture recognition should work the way it say in the example in the readme here. but im fed up with updating examples before i'm actually done architecture-wise.
from leapmotionp5.
Well, the snippet I pasted works directly.
from leapmotionp5.
P.S. is there a way to directly reach you? An email address, an IRC channel, or something?
from leapmotionp5.
marzzzel[at]gmail.com. let me know whats going on. :)
from leapmotionp5.
Related Issues (20)
- update to leap sdk version 0.74 HOT 1
- Retrieve ID of when fingers exist/active/removed HOT 3
- x and y values for getNormal() and getDirection() HOT 1
- getFingerList() not returning any data HOT 2
- Can't find dependent libraries HOT 1
- ID finger HOT 3
- No library found for com.leapmotion.leap.Gesture HOT 1
- Problems with the library - missing files HOT 5
- Managing arraylist of objects with the getFingerList() arraylist HOT 1
- Number of Fingers Recognition HOT 1
- Library Doesnt Appear in Processing HOT 1
- leap.convertVectorToPVector doesn't seem to exist in the current API
- Receiving tracking data while running in background. HOT 3
- Are there plans to update to the v2 Skeletal Tracking API? HOT 2
- Processing 3 Compatility
- how can i use this lib in unity for VR
- getAcceleration(Hand hand) HOT 1
- Access to screen calibration? HOT 1
- Transfer to OpenLeap
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from leapmotionp5.