Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
aframe-leap-hands
Advanced tools
Readme
leap-hand
for Leap MotionA-Frame VR component for Leap Motion controller.
In the dist/ folder, download either the minified or unminified build. Include the scripts on your page, and all components are automatically registered for you.
Or, use a CDN-hosted version:
<script src="//unpkg.com/aframe-leap-hands/dist/aframe-leap-hands.umd.js"></script>
Using NPM and Browserify or Webpack:
npm install --save aframe-leap-hands
require('aframe');
require('aframe-leap-hands');
<a-entity camera="near: 0.01" look-controls position="0 1.5 0">
<a-entity leap-hand="hand: left"></a-entity>
<a-entity leap-hand="hand: right"></a-entity>
</a-entity>
leap-hand
component:Property | Default | Description |
---|---|---|
hand | — | left or right |
enablePhysics | false | Adds a physics body for aframe-physics-system. |
holdDistance | 0.2 | Holding distance, in meters. |
holdDebounce | 100 | Debouncing on grip, in milliseconds. |
holdSelector | [holdable] | Selector that limits which objects may be held. |
holdSensitivity | 0.95 | 0—1. |
releaseSensitivity | 0.75 | 0–1. |
debug | false | Shows a grip target indicator. |
leap
system:Property | Default | Description |
---|---|---|
vr | true | If true, sets default VR position and quaternion. |
scale | 0.001 | |
position | 0 0 0 | |
quaternion | 0 0 0 1 |
For example, to set both hands to desktop configuration:
<a-scene leap="vr: false">
<a-entity leap-hand="hand: left"></a-entity>
<a-entity leap-hand="hand: right"></a-entity>
</a-scene>
FAQs
Leap Motion components for A-Frame VR
The npm package aframe-leap-hands receives a total of 13 weekly downloads. As such, aframe-leap-hands popularity was classified as not popular.
We found that aframe-leap-hands demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.