{"id":50550683,"url":"https://github.com/phyulwin/3d-web-avatar-viewer-threejs-react-threefiber","last_synced_at":"2026-06-04T03:01:31.606Z","repository":{"id":351953518,"uuid":"1211183390","full_name":"phyulwin/3d-web-avatar-viewer-threejs-react-threefiber","owner":"phyulwin","description":"3D Web Avatar Viewer (Three.js, React Three Fiber, glb models). Clone the repo to get started. 🌟","archived":false,"fork":false,"pushed_at":"2026-04-17T07:33:11.000Z","size":26699,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-17T08:33:45.978Z","etag":null,"topics":["3d-models","nextjs","react","threefiber","threejs","web"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phyulwin.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-15T06:31:41.000Z","updated_at":"2026-04-17T07:33:15.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/phyulwin/3d-web-avatar-viewer-threejs-react-threefiber","commit_stats":null,"previous_names":["phyulwin/3d-web-avatar-viewer-threejs-react-threefiber"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/phyulwin/3d-web-avatar-viewer-threejs-react-threefiber","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phyulwin%2F3d-web-avatar-viewer-threejs-react-threefiber","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phyulwin%2F3d-web-avatar-viewer-threejs-react-threefiber/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phyulwin%2F3d-web-avatar-viewer-threejs-react-threefiber/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phyulwin%2F3d-web-avatar-viewer-threejs-react-threefiber/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phyulwin","download_url":"https://codeload.github.com/phyulwin/3d-web-avatar-viewer-threejs-react-threefiber/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phyulwin%2F3d-web-avatar-viewer-threejs-react-threefiber/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33887124,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-04T02:00:06.755Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["3d-models","nextjs","react","threefiber","threejs","web"],"created_at":"2026-06-04T03:01:30.484Z","updated_at":"2026-06-04T03:01:31.600Z","avatar_url":"https://github.com/phyulwin.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 3D Model Viewer (Web)\n\nThis project is a web-based 3D avatar viewer built with React Three Fiber and Three.js that loads and displays interactive `.glb` models in a browser environment with lighting, background, and camera controls. It allows users to dynamically switch models, view them in a physically grounded scene, and interact through zoom, rotation, and keyboard-triggered behaviors.           \n\nPress the ```spacebar``` to stop the model from rotating. \nIf the model is out of sight, reload the page.\n\n![screenshot](doc/screenshot1.png)\n\n## Project Setup\n\nAfter cloning the project, go to the ```web-avatar-viewer``` folder and run the following commands in the terminal:\n\n```\nnpx create-next-app@latest web-avatar-viewer\ncd web-avatar-viewer\nnpm install three @react-three/fiber @react-three/drei three-stdlib\nnpm install zustand\n```\n\nRunning the project: ```npm run dev```\n\n---\n\n![screenshot](doc/screenshot2.png)\n\n## Models Credit (Sketchfab \u0026 Poly Haven)\n\nSky Background: [Qwantani Dusk 2 (Pure Sky)](https://polyhaven.com/a/qwantani_dusk_2_puresky)\n\n```\n\"Blue Flower Animated\" (https://skfb.ly/oDIqT) by morphy.vision is licensed under Creative Commons Attribution (http://creativecommons.org/licenses/by/4.0/).\n\n\"S**t happens\" (https://skfb.ly/6RqNV) by Loïc Norgeot is licensed under Creative Commons Attribution (http://creativecommons.org/licenses/by/4.0/).\n\n\"Guitar\" (https://skfb.ly/6wG8w) by Ivan Dnistrian is licensed under Creative Commons Attribution (http://creativecommons.org/licenses/by/4.0/).\n\n\"Birds\" (https://sketchfab.com/3d-models/birds-3a9bb97be78944f9bffc23fb25c2154e) by Zacxophone\n\n\"Broken Steampunk Clock\" (https://skfb.ly/6T9V7) by VassKacsoHunor is licensed under Creative Commons Attribution (http://creativecommons.org/licenses/by/4.0/).\n\n\"Flowers (Lowpoly)\" (https://skfb.ly/pyJMy) by Vertex is licensed under Creative Commons Attribution (http://creativecommons.org/licenses/by/4.0/).\n\n\"Flower\" (https://skfb.ly/6TGKv) by olilar is licensed under Creative Commons Attribution (http://creativecommons.org/licenses/by/4.0/).\n```\n\n---\nMusic by \u003ca href=\"https://pixabay.com/users/everything_is_dead-54651617/?utm_source=link-attribution\u0026utm_medium=referral\u0026utm_campaign=music\u0026utm_content=511240\"\u003eeverything_is_dead\u003c/a\u003e from \u003ca href=\"https://pixabay.com//?utm_source=link-attribution\u0026utm_medium=referral\u0026utm_campaign=music\u0026utm_content=511240\"\u003ePixabay\u003c/a\u003e\n\n---\n\n### Project Features\n\n* Random ```.glb``` model switching\n* Camera controls (zoom, orbit)\n* Auto-rotation + spacebar pause\n* Environment lighting + background\n* UI (Random + instruction text)\n* Background music\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphyulwin%2F3d-web-avatar-viewer-threejs-react-threefiber","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphyulwin%2F3d-web-avatar-viewer-threejs-react-threefiber","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphyulwin%2F3d-web-avatar-viewer-threejs-react-threefiber/lists"}