{"id":13406560,"url":"https://github.com/tocttou/three-freeform-controls","last_synced_at":"2025-09-02T23:47:20.025Z","repository":{"id":40292296,"uuid":"206008117","full_name":"tocttou/three-freeform-controls","owner":"tocttou","description":"Rotation and Translation controls for Threejs objects","archived":false,"fork":false,"pushed_at":"2023-10-05T09:09:46.000Z","size":3983,"stargazers_count":75,"open_issues_count":6,"forks_count":26,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-08T20:58:16.405Z","etag":null,"topics":["6dof","rotation","three","three-transform-controls","threejs","transform","transform-controls","translation"],"latest_commit_sha":null,"homepage":"https://ashishchaudhary.in/three-freeform-controls/","language":"TypeScript","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/tocttou.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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}},"created_at":"2019-09-03T06:48:32.000Z","updated_at":"2025-03-26T12:07:51.000Z","dependencies_parsed_at":"2023-02-02T21:45:15.835Z","dependency_job_id":"3a4af8a5-5204-40bb-8eb9-d32bc505b36d","html_url":"https://github.com/tocttou/three-freeform-controls","commit_stats":{"total_commits":141,"total_committers":6,"mean_commits":23.5,"dds":"0.23404255319148937","last_synced_commit":"d23b976c4fbabc05c9090ae529afb8e46fd7ce29"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tocttou%2Fthree-freeform-controls","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tocttou%2Fthree-freeform-controls/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tocttou%2Fthree-freeform-controls/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tocttou%2Fthree-freeform-controls/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tocttou","download_url":"https://codeload.github.com/tocttou/three-freeform-controls/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253149569,"owners_count":21861720,"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":["6dof","rotation","three","three-transform-controls","threejs","transform","transform-controls","translation"],"created_at":"2024-07-30T19:02:33.609Z","updated_at":"2025-05-08T20:58:22.516Z","avatar_url":"https://github.com/tocttou.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# three-freeform-controls\n\n[![npm version](https://badge.fury.io/js/three-freeform-controls.svg)](https://badge.fury.io/js/three-freeform-controls)\n![Built with TypeScript](https://flat.badgen.net/badge/icon/TypeScript?icon=typescript\u0026label\u0026labelColor=blue\u0026color=555555)\n\nThis library provides rotation and translation controls for [THREE.JS](https://threejs.org/) objects.\n\n### [Basic example](https://ashishchaudhary.in/three-freeform-controls/examples/?example=basic)\n\n### [Documentation](https://ashishchaudhary.in/three-freeform-controls)\n\n![screenshot](https://i.imgur.com/cTJTG9o.png)\n\n---\n\n### Changelog\n\n#### v0.3.0 [March 1, 2023]\n- Rework the rotation and translation maths; thanks to [@kineticsystem](https://github.com/kineticsystem)\n- Update peer dependencies to `\"three\": \"\u003e=0.150.1\"`\n- Update dev dependencies and examples\n\n### Local development:\n- Install dependencies: `npm install`\n- Build and watch the source code: `npm run start`\n\n### Running examples:\n- Make sure to build the source code\n- Run examples: `npm run examples`\n- To see a specific example in fullscreen, use the filename from `examples/` folder(like `localhost:10001/?example=basic` or `localhost:10001/?example=transition-limit`)\n\n### The following features are currently supported:\n\n- [x] translation controls with 3 degrees of freedom\n- [x] rotation controls with 3 degrees of freedom\n- [x] translation and rotation controls about arbitrary axes\n- [x] plane controls for translation restricted to an arbitrary plane\n- [x] rotation controls in the eye plane\n- [x] free-pick controls for translation in the eye plane\n- [x] fixed mode controls (retain orientation wrt. object rotation)\n- [x] inherit mode controls (make controls follow object rotation)\n- [x] custom objects as controls handles\n- [x] enabling partial controls only\n- [x] multiple instances of controls anchored to a single object\n- [x] different instances of controls anchored to a different objects\n- [x] snap to grid\n- [x] translation limits along individual axes \n\n### Todo:\n\n- [ ] tests\n\n---\n## About the project\n\n### License\n\n`three-freeform-controls` is distributed with an [MIT license](https://raw.githubusercontent.com/tocttou/three-freeform-controls/master/LICENSE).\n\n### Contributing\n\nWhen contributing to this repository, please first discuss the change you wish to make via an issue on the [Github Repo](https://github.com/tocttou/three-freeform-controls/issues/new).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftocttou%2Fthree-freeform-controls","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftocttou%2Fthree-freeform-controls","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftocttou%2Fthree-freeform-controls/lists"}