The Leap Motion Controller is an input device that tracks the position of the user’s hands and fingers in 3D space, taking the first step towards the kind of gesture-based computer interaction that we’ve seen in science fiction films like Minority Report. I built a simple space game demo with the Leap Motion JavaScript library and the Pixi.js 2D graphics framework.
You can find the complete source code on GitHub. The repository also includes a few other examples. If you are interested in learning more, keep an eye out for a tutorial that will appear on Ars Technica in the next month or so.