{"id":13733413,"url":"https://github.com/fernandojsg/aframe-camera-transform-controls-component","last_synced_at":"2025-03-21T12:32:23.024Z","repository":{"id":151657689,"uuid":"123125209","full_name":"fernandojsg/aframe-camera-transform-controls-component","owner":"fernandojsg","description":"Camera transform controls component for A-Frame","archived":false,"fork":false,"pushed_at":"2020-09-27T12:47:10.000Z","size":39812,"stargazers_count":52,"open_issues_count":4,"forks_count":6,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-10-12T22:16:18.610Z","etag":null,"topics":["aframe","threejs","webvr"],"latest_commit_sha":null,"homepage":"https://fernandojsg.github.io/aframe-camera-transform-controls-component/","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/fernandojsg.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2018-02-27T12:21:12.000Z","updated_at":"2024-09-25T22:00:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"c35be01c-63de-4028-85a7-d0367912a4f9","html_url":"https://github.com/fernandojsg/aframe-camera-transform-controls-component","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fernandojsg%2Faframe-camera-transform-controls-component","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fernandojsg%2Faframe-camera-transform-controls-component/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fernandojsg%2Faframe-camera-transform-controls-component/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fernandojsg%2Faframe-camera-transform-controls-component/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fernandojsg","download_url":"https://codeload.github.com/fernandojsg/aframe-camera-transform-controls-component/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221815230,"owners_count":16885145,"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","threejs","webvr"],"created_at":"2024-08-03T03:00:42.626Z","updated_at":"2024-10-28T10:08:57.019Z","avatar_url":"https://github.com/fernandojsg.png","language":"JavaScript","readme":"## aframe-camera-transform-controls-component\n\n[![Version](http://img.shields.io/npm/v/aframe-camera-transform-controls-component.svg?style=flat-square)](https://npmjs.org/package/aframe-camera-transform-controls-component)\n[![License](http://img.shields.io/npm/l/aframe-camera-transform-controls-component.svg?style=flat-square)](https://npmjs.org/package/aframe-camera-transform-controls-component)\n\nA Camera Transform Controls component for [A-Frame](https://aframe.io).\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://fernandojsg.github.io/aframe-camera-transform-controls-component/\"\u003e\u003cimg src=\"readme.gif\" alt=\"Recording component\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n### API\n\n| Property | Description | Default Value |\n| -------- | ----------- | ------------- |\n| enabled         |             | true              |\n| cameraRigId         | Camera rig containing the camera and both controllers            | cameraRig               |\n| onStart         | Event used to start the panning or scale \u0026 rotate              | triggerdown              |\n| onEnd         | Event used to stop panning or scale \u0026 rotate            | triggerup |\n| showHint         | Show a line between both controllers and the scale factor    | true              |\n\n\n### Installation\n\n#### Browser\n\nInstall and use by directly including the [browser files](dist):\n\n```html\n\u003chead\u003e\n  \u003ctitle\u003eMy A-Frame Scene\u003c/title\u003e\n  \u003cscript src=\"https://aframe.io/releases/0.7.1/aframe.min.js\"\u003e\u003c/script\u003e\n  \u003cscript src=\"https://unpkg.com/aframe-camera-transform-controls-component/dist/aframe-camera-transform-controls-component.min.js\"\u003e\u003c/script\u003e\n\u003c/head\u003e\n\n\u003cbody\u003e\n  \u003ca-scene camera-transform-controls=\"\"\u003e\n  \u003c/a-scene\u003e\n\u003c/body\u003e\n```\n\n#### npm\n\nInstall via npm:\n\n```bash\nnpm install aframe-camera-transform-controls-component\n```\n\nThen require and use.\n\n```js\nrequire('aframe');\nrequire('aframe-camera-transform-controls-component');\n```\n","funding_links":[],"categories":["Web-Based Frameworks"],"sub_categories":["Motion Controllers inside Unity!"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffernandojsg%2Faframe-camera-transform-controls-component","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffernandojsg%2Faframe-camera-transform-controls-component","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffernandojsg%2Faframe-camera-transform-controls-component/lists"}