Leap Motion is a developer-driven platform, and the beauty of open sourcing development resources is that a single library or wrapper, once released to the world, can be integrated and built out by thousands of other people. And since the future of any new platform depends on what people can do with it, over the past few months we’ve released a steady stream of open source assets and examples to help devs get started with our v2 tracking beta.

At the same time, developers – from creative coders and hardware hackers to web and game devs – have been releasing their projects into the wild since we first released our v1 SDK. Using the extra dimensions of data provided by motion control, along with openly available frameworks like Three.js, developers have created everything from art installations and musical experiments to motion-controlled robots and educational games. In this post, we’ll look at some of the key resources and hotspots for open source projects.

LeapJS

Our JavaScript framework is constantly evolving, and it’s easy for anyone to get started. While developers can use our CDN to integrate Leap Motion into their web apps, LeapJS also has an active GitHub repo with a variety of subprojects. After registering your name, email, and GitHub account in our contributors list, you can start making pull requests for your changes.

LeapJS also provides a powerful and flexible extension framework that makes it easy to build and use custom plugins. They’re configurable, can extend frame objects with new functionality or data, and can emit custom events from the controller. Most importantly, the rigged hand lets you add an onscreen hand to your web app with just a few lines of code.

Unity

To help developers start building 3D applications for our v2 tracking, we recently released V2 Skeletal Assets for Unity for free under the Apache 2.0 license. These include:

  • quick and easy Leap Motion integration for your existing Unity projects
  • an interaction engine that allows you to grab, rotate, and scale objects, as well as pass them from hand to hand
  • customizable hand models and a rigged hand
  • several demo scenes and interactions

Our Unity Store page includes links to other free and open source assets, including a unique menu system and a v1 demo pack with more elaborate examples. For more information on getting set up with Unity Free or Pro, see our getting started guide.

Developer Portal

Along with extensive API documentation, Leap Motion’s developer portal includes a variety of examples, wrappers, and libraries – most of which are community-generated. While many v1 libraries are still being brought up to take advantage of the new V2 tracking capabilities, we’re committed to backwards compatibility over the long term. Check out the v2 gallery for a variety of examples and experiments.

Community Projects

If you’re looking to connect with other developers, Leap Motion’s community forums are a hub for questions, projects, and collaborations of all stripes. You can also find open source community projects through the Leap Motion blog, which includes a free and open source category. Here are some recent projects featured on the blog:

Dig in, and happy hacking!

Alex is the head writer and blog editor at Leap Motion, where he stands as the final bulwark against bad grammar. Want to share your Leap Motion project? Email acolgan@leapmotion.com or PM leapmotion_alex on Reddit.

Twitter Skype