{"id":20649290,"url":"https://github.com/repalash/offsetorbitcontrols","last_synced_at":"2026-03-11T00:38:29.620Z","repository":{"id":84265132,"uuid":"494725682","full_name":"repalash/OffsetOrbitControls","owner":"repalash","description":"Modified three.js OrbitControls with target offset.","archived":false,"fork":false,"pushed_at":"2022-05-21T08:38:29.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-17T10:12:10.786Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/repalash.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"publiccode":null,"codemeta":null}},"created_at":"2022-05-21T08:32:43.000Z","updated_at":"2024-08-27T15:03:44.000Z","dependencies_parsed_at":"2023-05-24T04:45:28.461Z","dependency_job_id":null,"html_url":"https://github.com/repalash/OffsetOrbitControls","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/repalash%2FOffsetOrbitControls","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/repalash%2FOffsetOrbitControls/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/repalash%2FOffsetOrbitControls/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/repalash%2FOffsetOrbitControls/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/repalash","download_url":"https://codeload.github.com/repalash/OffsetOrbitControls/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242737019,"owners_count":20177092,"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":[],"created_at":"2024-11-16T17:13:43.889Z","updated_at":"2026-03-11T00:38:29.591Z","avatar_url":"https://github.com/repalash.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OffsetOrbitControls\nSmall extension to OrbitControls to allow for offsetting the target position on screen. \nThis is useful for zooming and rotating around an arbitrary point on the screen to create model viewers with offset on screen.\nIt also allows for panning around without changing the target position.\n\nLive Demo: [https://repalash.com/OffsetOrbitControls/](https://repalash.com/OffsetOrbitControls/)  \n\nTo use replace `OrbitControls` with `OffsetOrbitControls` and call `controls.update()` in the render loop. see `index.html`\n\nTo reset the target or to set the offset on the screen, set `controls.targetOffset.set(x, y, 0)` in screen space NDC.\n\nTo fix the target offset on screen, disable panning by doing `controls.enablePan = false` \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frepalash%2Foffsetorbitcontrols","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frepalash%2Foffsetorbitcontrols","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frepalash%2Foffsetorbitcontrols/lists"}