Leap Box2D Demo + Code

Reply
Avatar
by SuperhumanSF

Our team has been playing around with the Leap and wanted to provide a small code sample that shows one way to showcase how something simple can still feel totally immersive. This example shows how to access some basic data and then play with hand/finger position and velocity. These properties can then be attributed to the control of anything on screen.

Try the sample binary HERE
And code can be found HERE

Feel free to use the code as a starting point or as it's own simple project. Would love to see other code examples that show off the power and beauty of simplicity!

Avatar
by Sidan

Can you post some video? I can't really understand how to use...

Thanks!

In reply to SuperhumanSF
Avatar
by wbvdw

Hi Sidan,

It's just a simple box2d example. You move your hand around and the velocity of your hand affects the circle, which slides into a bunch of tiny objects.

Similar to this:
https://vimeo.com/62729803

In reply to Sidan
Avatar
by Wikzo

Would you be able to make a Windows build? I would like to try it, but don't know anything about Box2D (yet) :)

Avatar
by SuperhumanSF

Hi Wikso,

We do not have a Windows build for the demo at this time. Thank you for the idea though. Perhaps we will attempt it for this build, or possibly another one in the near future.

In reply to Wikzo