{"id":13491323,"url":"https://github.com/openleap/aframe-leap-hands","last_synced_at":"2025-03-28T08:32:59.044Z","repository":{"id":57174200,"uuid":"48499035","full_name":"openleap/aframe-leap-hands","owner":"openleap","description":"A-Frame VR component for Leap Motion.","archived":false,"fork":false,"pushed_at":"2018-12-26T21:44:55.000Z","size":538,"stargazers_count":166,"open_issues_count":5,"forks_count":24,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-03-18T23:05:06.389Z","etag":null,"topics":["aframe","leap-motion"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openleap.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-12-23T16:02:25.000Z","updated_at":"2024-10-07T15:59:08.000Z","dependencies_parsed_at":"2022-08-24T13:31:11.636Z","dependency_job_id":null,"html_url":"https://github.com/openleap/aframe-leap-hands","commit_stats":null,"previous_names":["donmccurdy/aframe-leap-hands"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openleap%2Faframe-leap-hands","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openleap%2Faframe-leap-hands/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openleap%2Faframe-leap-hands/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openleap%2Faframe-leap-hands/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openleap","download_url":"https://codeload.github.com/openleap/aframe-leap-hands/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245996474,"owners_count":20707246,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aframe","leap-motion"],"created_at":"2024-07-31T19:00:55.646Z","updated_at":"2025-03-28T08:32:58.598Z","avatar_url":"https://github.com/openleap.png","language":"JavaScript","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"# A-Frame VR `leap-hand` for Leap Motion\n\n[![Latest NPM release](https://img.shields.io/npm/v/aframe-leap-hands.svg)](https://www.npmjs.com/package/aframe-leap-hands)\n[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/donmccurdy/aframe-leap-hands/master/LICENSE)\n![Work in progress](https://img.shields.io/badge/status-experimental-orange.svg)\n\nA-Frame VR component for Leap Motion controller.\n\n![4d731aec-193d-463c-8189-d54c5e023206-20847-0002ac9dc2db9992](https://cloud.githubusercontent.com/assets/1848368/23005782/0909f4aa-f3cc-11e6-83f3-072b53374000.gif)\n\n## Installation (Scripts)\n\nIn the [dist/](https://github.com/openleap/aframe-leap-hands/tree/master/dist) folder, download either the minified or unminified build. Include the scripts on your page, and all components are automatically registered for you.\n\nOr, use a CDN-hosted version:\n\n```html\n\u003cscript src=\"//unpkg.com/aframe-leap-hands/dist/aframe-leap-hands.umd.js\"\u003e\u003c/script\u003e\n```\n\n## Installation (NPM)\n\nUsing NPM and Browserify or Webpack:\n\n```bash\nnpm install --save aframe-leap-hands\n```\n\n```javascript\nrequire('aframe');\nrequire('aframe-leap-hands');\n```\n\n## Usage\n\n```html\n\u003ca-entity camera=\"near: 0.01\" look-controls position=\"0 1.5 0\"\u003e\n  \u003ca-entity leap-hand=\"hand: left\"\u003e\u003c/a-entity\u003e\n  \u003ca-entity leap-hand=\"hand: right\"\u003e\u003c/a-entity\u003e\n\u003c/a-entity\u003e\n```\n\n## Options\n\n### `leap-hand` component:\n\n| Property           | Default      | Description |\n|--------------------|--------------|-------------|\n| hand               | —            | `left` or `right` |\n| enablePhysics      | false        | Adds a physics body for [aframe-physics-system](https://github.com/donmccurdy/aframe-physics-system). |\n| holdDistance       | 0.2          | Holding distance, in meters. |\n| holdDebounce       | 100          | Debouncing on grip, in milliseconds. |\n| holdSelector       | `[holdable]` | Selector that limits which objects may be held.                |\n| holdSensitivity    | 0.95         | 0—1. |\n| releaseSensitivity | 0.75         | 0–1. |\n| debug              | false        | Shows a grip target indicator. |\n\n### `leap` system:\n\n| Property   | Default   | Description |\n|------------|-----------|-------------|\n| vr         | true      | If true, sets default VR position and quaternion. |\n| scale      | 0.001     | |\n| position   | `0 0 0`   | |\n| quaternion | `0 0 0 1` | |\n\nFor example, to set both hands to **desktop** configuration:\n\n```html\n\u003ca-scene leap=\"vr: false\"\u003e\n  \u003ca-entity leap-hand=\"hand: left\"\u003e\u003c/a-entity\u003e\n  \u003ca-entity leap-hand=\"hand: right\"\u003e\u003c/a-entity\u003e\n\u003c/a-scene\u003e\n```\n\n## References:\n\n### Official\n\n+ [Leap JS](https://github.com/leapmotion/leapjs)\n+ [Leap JS Plugins](https://github.com/leapmotion/leapjs-plugins)\n+ [Leap JS cont'd](https://developer.leapmotion.com/javascript)\n+ [Leap JS Network](https://github.com/leapmotion/leapjs-network)\n+ [Leap JS Widgets](https://github.com/leapmotion/leapjs-widgets)\n+ [Leap JS Rigged THREE.js Hand](https://github.com/leapmotion/leapjs-rigged-hand)\n\n### Third-party\n\n+ THREE.LeapMotion Wrapper [discussion](https://community.leapmotion.com/t/three-js-wrapper/769) and [GitHub](https://github.com/scottbyrns/THREE.LeapMotion)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenleap%2Faframe-leap-hands","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenleap%2Faframe-leap-hands","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenleap%2Faframe-leap-hands/lists"}