{"id":19478935,"url":"https://github.com/braidenpsiuk/three-editor-scripts","last_synced_at":"2025-04-15T09:25:40.384Z","repository":{"id":165081775,"uuid":"483415353","full_name":"BraidenPsiuk/three-editor-scripts","owner":"BraidenPsiuk","description":"A collection of small, simple scripts for the Three.js editor","archived":false,"fork":false,"pushed_at":"2023-03-06T06:33:45.000Z","size":752,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-07T11:09:04.472Z","etag":null,"topics":["three","three-editor","three-js","threejs","threejs-editor"],"latest_commit_sha":null,"homepage":"https://threejs.org/editor","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BraidenPsiuk.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,"publiccode":null,"codemeta":null}},"created_at":"2022-04-19T21:28:58.000Z","updated_at":"2023-04-19T16:49:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"77e1b3fd-6697-40e8-af82-5a726a8f1fa1","html_url":"https://github.com/BraidenPsiuk/three-editor-scripts","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/BraidenPsiuk%2Fthree-editor-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BraidenPsiuk%2Fthree-editor-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BraidenPsiuk%2Fthree-editor-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BraidenPsiuk%2Fthree-editor-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BraidenPsiuk","download_url":"https://codeload.github.com/BraidenPsiuk/three-editor-scripts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249041414,"owners_count":21203097,"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":["three","three-editor","three-js","threejs","threejs-editor"],"created_at":"2024-11-10T19:52:08.132Z","updated_at":"2025-04-15T09:25:40.363Z","avatar_url":"https://github.com/BraidenPsiuk.png","language":"JavaScript","readme":"# three-editor-scripts\nA collection of small, simple scripts for the [Three.js editor](https://threejs.org/editor).\n\nThere are two files for each script:\n- [script].js: The actual script. You can copy-paste the contents into the Three.js Editor's script editor.\n- [script].json: An example scene description file. You can simply drag-and-drop these into the Three.js Editor window, click the \"play\" button, and you'll get a basic example of what the script does.\n\nCheck out the list below to see what each script does and what you can attach it to.\n\nYou can find the Manual for the editor [here](https://github.com/mrdoob/three.js/wiki/Editor-Manual).\n\n-----\n\n# List of Scripts\n\n### gltf-material-opacity-animate.js\n  - Attach to: THREE.Object3D\n  - Description: Animate opacity (a property of THREE.Object3D.material) by using a child single vert's X scale property as a container to hold opacity animation data. The opacity value must range from 0-1, so animate this value accordingly. In this example, opacity animation data is stored in '[child single vert].scale.x'.\nExample:\n\u003cimg src=\"https://raw.githubusercontent.com/BraidenPsiuk/three-editor-scripts/master/img/gltf-material-opacity-animate.gif\" style=\"width: 100%;\"\u003e\n\n### set-camera-on-play.js\n  - Attach to: THREE.PerspectiveCamera\n  - Description: Set the active camera when the \"play\" button is clicked by the user.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbraidenpsiuk%2Fthree-editor-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbraidenpsiuk%2Fthree-editor-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbraidenpsiuk%2Fthree-editor-scripts/lists"}