Setting Up a Project

To develop using the Leap Motion JavaScript API, you can use your prefered web development processes and tools. The API is provided as a standard JavaScript library that you can include in your HTML pages and web applications.

Getting the JavaScript library

You can access the libraries remotely from Leap Motion’s servers:

  • For production (minified):

    <script src="//js.leapmotion.com/leap-0.6.3.min.js"></script>
    
  • For development:

    <script src="//js.leapmotion.com/leap-0.6.3.js"></script>
    
  • On Github: https://github.com/leapmotion/leapjs