Coder Social home page Coder Social logo

Comments (5)

Nesh108 avatar Nesh108 commented on August 15, 2024

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.

schwittlick avatar schwittlick commented on August 15, 2024

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.

Nesh108 avatar Nesh108 commented on August 15, 2024

Well, the snippet I pasted works directly.

from leapmotionp5.

Nesh108 avatar Nesh108 commented on August 15, 2024

P.S. is there a way to directly reach you? An email address, an IRC channel, or something?

from leapmotionp5.

schwittlick avatar schwittlick commented on August 15, 2024

marzzzel[at]gmail.com. let me know whats going on. :)

from leapmotionp5.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.