Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@p4d/leapmotion

Package Overview
Dependencies
Maintainers
3
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@p4d/leapmotion

P4D Leap Motion library

  • 1.9.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

P4D Leap motion library

Installation

### NPM npm install --save @p4d/leapmotion

HTML include

<script type="text/javascript" src="dist/leapmotion.p4d.js"></script>

Usage: events

  • hand id: hand id hand: hand struct
  • handFound
  • handLost
  • grab id: hand id type: type of grab event, start/ongoing/end value: grabStrength value (0 to 1)
  • movement id: hand id movement: x,y,z relative movement with respect to last frame. x: left/right; y: up/down, z: in/out
  • screen id: hand id screen: x,y,z screen coordinates in pixels.
  • zoom
  • tap

FAQs

Package last updated on 31 Aug 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc