Examples » Leap Motion

Integration of the LeapMotion SDK into Magnum.


Note that there is also a Oculus SDK example. Combined with this, you can have your hands in virtual reality!


This example requires you to have the Orion beta or Leap Motion V2 Desktop SDK installed. In addition, you will need a Leap Motion Controller.


  • Move hands — well, move hands
  • Escape — close the application


This example was originally contributed by Jonathan Hale. This example makes use of the Leap Motion SDK, see https://leapmotion.com/ for license information.


Full source code is linked below and also available in the magnum-examples GitHub repository. This example depends on the LeapMotion SDK which you need to install separately; additionally you need to put FindLeap.cmake into your modules/ directory.