• Stars
    star
    112
  • Rank 312,240 (Top 7 %)
  • Language
    JavaScript
  • License
    Apache License 2.0
  • Created almost 11 years ago
  • Updated about 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A collection of plugins available to be used with LeapJS.

LeapJS Plugins

This repository holds a collection of independent plugins which extend the functionality of LeapJS itself.

leap-plugins.js is a collection of amazing plugins to get you started quickly.

  • Hand Entry Emit events when a hand enters of leaves the field of view.
  • Hand Hold Save data on to hands or fingers which will be persisted between frames.
  • Screen Position Get the on-screen position of any Leap-space point.
  • Version Check Ensure a minimum protocol version when running your app.
  • Playback Record hand-data from the Leap, compress it, and use it to animate your app.
  • Transform Translate, rotate, and scale Leap Motion data. Easily.
  • Bone Hand Drop THREE.js Hands in to any scene, or quick-start with the default scene.

leap-plugins-utils.js explores what can be done with LeapJS Plugins.

Other libraries

  • Widgets 3D input elements - buttons and planes.
  • Rigged Hand Easily add virtual 3d hands to any web page with THREE.js.

Download

developer.leapmotion.com/downloads/javascript#plugins

Usage

Include LeapJS >= 0.4.0 and either javascript file of an individual plugin or a collection. Configure your controller to use the plugin, and that functionality will be available to you. See hand-entry for docs on hand-entry itself.

<!-- your index.html -->
<script type="text/javascript" src="js/leap-0.6.4.js"></script>
<script type="text/javascript" src="js/lib/leap.hand-entry.js"></script>
<script type="text/javascript">
  Leap.loop()
    .use('handEntry')
</script>

Examples

Examples are available on the developer gallery live editor and in subfolders here of individual plugins.

To run them on localhost, you'll need a web server to resolve asset paths.

> python -m SimpleHTTPServer

Contributing

Open an issue!

Open a pull request!

  • Read up on Making Plugins, then:
  • Make a fork, name your branch, add your plugin or fix.
  • Add your name, email, and github account to the CONTRIBUTORS.txt list, thereby agreeing to the terms and conditions of the Contributor License Agreement.
  • Open a Pull Request. If your information is not in the CONTRIBUTORS file, your pull request will not be reviewed.

More Repositories

1

leapjs

JavaScript client for the Leap Motion Controller
JavaScript
1,980
star
2

ProjectNorthStar

The open-source files comprising Leap Motion's Project North Star AR Headset.
C
1,616
star
3

LeapMotionCoreAssets

Unity Assets for Leap Motion v2 Skeletal Tracking
C#
164
star
4

autowiring

A C++ Inversion of Control Framework
C++
147
star
5

javascript

Leap Motion Javascript / LeapJS Examples
JavaScript
113
star
6

leapuvc

Examples in Python, Matlab, and C for interpreting data from UVC-Enabled Leap Motion Peripherals
Python
96
star
7

leapjs-rigged-hand

Control hand models with the Leap Motion
CoffeeScript
93
star
8

LeapUnrealModules

Leap Motion Unreal modules and example content.
C#
62
star
9

Leap-Three-Camera-Controls

Camera Controls for Three.js using Leap Motion
JavaScript
61
star
10

InteractionEngine101

"What does the Interaction Engine do?"
C#
59
star
11

VRIntro

Leap Motion's intro to VR
C++
56
star
12

AppExperiments

Experimental applications and home of AppModules, a wide-ranging app toolkit.
C#
51
star
13

leapjs-widgets

LeapJS 3D Buttons, scrolling, and more
JavaScript
51
star
14

leapjs-playback

Record and play back Leap Motion frame data
JavaScript
48
star
15

Button-Builder

Build Buttons!
C#
38
star
16

leapjs-network

Use WebRTC to send LeapMotion data p2p
JavaScript
36
star
17

Paint

Leap-enabled 3D VR Painting.
C#
31
star
18

MagneticMesh

A Leap Motion Cinder interactive music visualizer. Pinch to create gravitational fields.
C++
25
star
19

VRCollage

Experiment w/ Leap Motion and Virtual Reality
JavaScript
18
star
20

leapserial

The Leap Motion cross-format, cross-platform declarative serialization library
C++
17
star
21

Particles

Leap Motion experimental application: Particles!
C#
16
star
22

handmodels

15
star
23

ar-screen

Hackathon project for augmented reality screen
C++
15
star
24

touchless

Touchless Control for your PC, from Leap Motion V1
C++
15
star
25

LeapIPC

Leap Motion interprocess communications framework
C++
14
star
26

mt-windows

A MultiTouch driver for touch injection on Windows 7
C
12
star
27

cmake-modules

Helpful CMake modules - 3.0+
CMake
11
star
28

chrome-draw

JavaScript
10
star
29

sculpting

Beauty in design (formerly known as Freeform)
C++
10
star
30

Leap-TiltFive-Testing

Unity test scenes of hand tracking interactions with Tiltfive AR glasses
C#
10
star
31

QuickSwitch

QuickSwitch, VR to Passthrough
10
star
32

LeapShape

Browser BRep CAD in WebXR
JavaScript
9
star
33

tensorheaven

C++
9
star
34

PlasmaBall

Manipulate the Plasma Ball with ghostly hands
7
star
35

Galaxies

C#
7
star
36

DShowBaseClasses

Microsoft DirectShow base classes wrapped in CMake
C++
7
star
37

ArmHUD

ArmHUD Alpha
6
star
38

os-controls

Shortcuts, with libraries for GPU-accelerated overlays and more
C++
6
star
39

beer-pong

JavaScript
4
star
40

CityVisualizerVR

Fly around and interact with the city in VR
4
star
41

FlockingVR

Flocking fish demo in VR
4
star
42

libjpeg-turbo

git-svn mirror of sourceforge's libjpeg-turbo svn repository
C
4
star
43

FragmentalVR

A HMD version of the Fragmental 3D app
4
star
44

homebrew-leapmotion

Collection of homebrew formulas for Leap Motion libraries
Ruby
4
star
45

MirrorTest

Move squares on top of a mirror interface
C
4
star
46

Playground

Leap Motion V2 Introduction app and play zone!
C#
4
star
47

Leap3DObjectBrowser

Pull yourself through space by grabbing.
C
4
star
48

IconExtractor

A simple project for extracting the main icon from a Windows PE
C++
4
star
49

leap-excel

Leap Motion plugin for Excel
C#
3
star
50

RobotsVR

Put together dancing robots!
3
star
51

rawviewer

RawViewer for Leap Motion Controllers
C
3
star
52

LeapC-samples

The LeapSDK LeapC samples configured to build under Visual Studio 2017
C
3
star
53

ColliderVR

Straight-up cruisin' through the supercollider with Leap Motion and VR
3
star
54

Leap-Motion-Player

JavaScript
3
star
55

PlasmaBallVR

Plasma Ball for VR Head Mounted Display and Leap Motion Controller
3
star
56

LeapIntoOculus

A basic example of using the Leap Motion Controller with the Oculus Rift in C++
C
3
star
57

pipeman

A high-performance pipe manager for capturing images from Unity3D
C++
3
star
58

jenkins-build-per-branch

Groovy
2
star
59

dragon410c

kernel source of dragon410c for LeapMotion
C
2
star
60

DeskVR

Leap Desk VR
2
star
61

DualCameraAPI1

Simple DualCamera Preview App
Java
2
star
62

cpp

C++
2
star
63

RiggedHandVisualizer

GLSL
2
star
64

FreeImage

Modifications to build FreeImage for the Leap Motion environment
C
2
star
65

standard

A library containing the skeleton set for all new external library projects
CMake
2
star
66

BattleshipVR

BattleshipVR
2
star
67

pyopticam

A nanobind wrapper for NaturalPoint's Optitrack Camera SDK
C++
2
star
68

leapmusic

Java
2
star
69

orientation

Leap Motion's V1 Orientation
C++
2
star
70

FurnitureDestructionDemo

2
star
71

AppSwitcher

A very simple XML configurable application switcher utility
C#
2
star
72

WrenAR-VR-UI

WrenAR VR/UI
2
star
73

ImageAPIinObjectiveC

Demonstrates how to use the Image API in Objective-C projects
Objective-C
2
star
74

GrayImageViewer

This is a tool to view 8bit gray images
C++
2
star
75

Flocking

Flocking VR
CMake
1
star
76

punch-out

Boxing game demo from the April 2014 Leap Motion V2 hackathon
Python
1
star
77

apphome

Leap Motion App Home
JavaScript
1
star
78

VRHelloWorld

C
1
star
79

leap-facebook-chat

JavaScript
1
star
80

ShieldVR

Shield VR Example Project
1
star
81

usbbldr

USB descriptor builder repository
C++
1
star
82

mipivideo

A low level MIPI video transport API consumed by LeapSvc!
C++
1
star
83

hudson-tray-tracker

C#
1
star
84

leapCopter

JavaScript
1
star
85

FoxBlox

MATLAB
1
star
86

LeapHTTP

The libraries used by Leap Motion to perform certain HTTP operations
C++
1
star
87

hackathon-leap-signature

CSS
1
star
88

LaserVR

LaserVR Example
1
star
89

talks

Talks Given
JavaScript
1
star
90

VRQuickSwitch

The Leap Motion VR/AR Quick Switcher Experiment
1
star
91

leapshell

3D File system, "Utility" category winner from the April 2014 Leap Motion V2 hackathon
C++
1
star
92

anttweakbar

Leap Motion's modifications of anttweakbar repo
C++
1
star
93

OSCTutorialSite

OSCTutorialSite
CSS
1
star