Neurogami’s LeapMotionP5 library keeps getting incremental improvements. The latest was a change in some of the examples to use the “interaction box”, which simplifies mapping 3D Leap coordinates to a 2D window, such as in a Processing sketch.
Along with this update comes the publication of the “first of many” articles that walk through the examples and explain what’s going on and why.
Read LeapMotionP5 examples part 1, over on the Leap Hacking site.