JavaScript
The 3D web starts here. Our JavaScript API, LeapJS, makes it possible for you to add a new level of interaction to your web app – with fully realized virtual onscreen hands. With LeapJS, you have access to our reliable CDN, a robust and growing set of plugins, and experiments on the cutting edge of browser-based virtual reality. Check out our getting started page to learn more.
Get Started
9K
5
VR Quickstart
This minimal demo show how to get started with Leap Motion Virtual Reality on the web.
10.1K
2
VRCollage
Move the collage of pictures in VR
8.3K
8
Left or Right
This shows how to use Screen Position on the rigged hand plugin to position divs outside of a WebGL context...
11K
9
Grab Strength
Grab indicates how close a hand is to being a fist – any fingers that aren't curled will reduce grab streng...
8.5K
8
Boilerplate for Three.js an...
Use this simple code to setup Leap Motion and Three.js quickly!
5.5K
2
Bone Hands
Easily add hands to your javascript/THREE.js application
6.2K
3
Simple Particles using Leap...
The particles come to life with Javascript
5.6K
3
Finger Angle
Measure the angle between your index and middle finger
5.4K
5
Chrome Draw
Caligraphy on the DOM
5.2K
4
Finger Angle Signed
<img src="https://di4564baj7skl.cloudfront.net/assets/leapjs/leapjs-logo-270-0cfcbb5fbc292c005453c6cb976a99...
4.4K
3
Data Confidence
Know when it is hard for the Leap to see a hand. When near the edge of the screen or when one hand is occlu...
4.2K
3
THREE.js 3d light positioning
Move lights around a THREE.js scene
4.0K
2
Build-a-Throw
This example shows how to pick up an object and throw it.
4.0K
0
1,048,576 Particles
GPU Physics with WebGL
3.6K
0
Light Pinch VR
Illuminate blue cubes by pinching your hands with Oculus Rift on
3.2K
1
CSS3 Card Flip
Roll your hand to flip a DOM card
2.9K
2
ScreenPosition Plugin
Create a cursor off of Leap Motion data.
2.8K
4
Finger Labels
Which hand? Which finger? Now you can find out!
2.5K
1
Finger Spheres
See spheres at your joints
2.5K
0
Smarter Smartmirror
DIY motion controlled Smart Mirror!
2.3K
3
WebGL Space Training Module
Inspect ships and planets in this WebGL demo designed for the Leap Motion
2.0K
2
The Ultimate Interactive Pr...
Create fully interactive presentations with in your browser with SendGrid + Reveal.js + Google Glass
2.0K
1
Swiping selection demo
Swipe to highlight a square
1.8K
3
Canvas Fingers
Finger positions in the plane of the screen