Hey there,
i´m absolutely new to Processing and the Leap Motion but I have to do something for university and could really need some help!
I already finished my code with processing, it works with the map/distance function so there are points and they just follow the mouse - thats it. Now I wanted to exchange the "follow the mouse" part with my hand and the Leap Motion to make it possible that my hand could be followed but I have no clue how and where to start
Here´s the part of my code, does anyone know how to do it? 
float tempDist = dist(mouseX, mouseY, pointX[i], pointY[i]);
if (tempDist < 1000) {
pointW[i] = map(tempDist, 30, 0, 5, 0);
} else {
pointW[i] = 5;
}