{"id":28637657,"url":"https://github.com/duguyihou/playground","last_synced_at":"2026-05-05T08:33:37.847Z","repository":{"id":39123712,"uuid":"264686681","full_name":"duguyihou/playground","owner":"duguyihou","description":"Computer Graphics Assignment","archived":false,"fork":false,"pushed_at":"2023-01-06T04:04:02.000Z","size":853,"stargazers_count":1,"open_issues_count":24,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-08T03:25:03.249Z","etag":null,"topics":["threejs","webpack"],"latest_commit_sha":null,"homepage":"","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/duguyihou.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}},"created_at":"2020-05-17T14:34:17.000Z","updated_at":"2021-12-07T04:50:15.000Z","dependencies_parsed_at":"2023-02-05T06:46:41.370Z","dependency_job_id":null,"html_url":"https://github.com/duguyihou/playground","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/duguyihou/playground","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duguyihou%2Fplayground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duguyihou%2Fplayground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duguyihou%2Fplayground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duguyihou%2Fplayground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/duguyihou","download_url":"https://codeload.github.com/duguyihou/playground/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duguyihou%2Fplayground/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259518827,"owners_count":22870305,"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":["threejs","webpack"],"created_at":"2025-06-12T18:11:20.273Z","updated_at":"2026-05-05T08:33:32.826Z","avatar_url":"https://github.com/duguyihou.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CG Assignment\n\n## Install\nBefore you begin, make sure you are comfortable with terminal commands and have [Node and NPM installed](https://www.npmjs.com/get-npm).\n```bash\nnpm install\n```\n\n## Running the development server\nTo see the changes you make to the starter project go to the project folder in terminal and type...\n\n```bash\nnpm start\n```\n\nThis command will bundle the project code and start a development server at [http://localhost:8080/](http://localhost:8080/).\n\n## Editing the code\nThe first file you should open is `./objects/Scene.js`. In it you will find the 4 objects comprising the world represented in your browser. The bowling ball, bowling pin, the island, and the lights illuminating them are each represented as a javascript file in the `./object/s` folder.\nCreate other folders for your parts, and export to scene.js, then you can find your objects in browser. If something goes wrong a message will displayed in the debug console of the browser.\n\n## Importing local files\nLocal files, such as images and 3D models, are imported into the application as URLs then loaded asynchronously with three.js. Most common files that three.js uses are supported. Shader files are loaded as raw text. For more information about this system see the [webpack site](https://webpack.js.org/).\n\n\nYou can copy the land.js and change it to your objects.\n\n## Importing modules from the web\nIf you want to add additional functionality to your project, you can search and install them from the [NPM repository](https://www.npmjs.com/). Some modules you might want to consider are...\n* [three-orbit-controls](https://www.npmjs.com/package/three-orbit-controls)\n* [popmotion](https://www.npmjs.com/package/popmotion)\n* [Cannon.js Physics](https://www.npmjs.com/package/cannon).\n\nAdditions like these are best managed in the projects entry file: `./src/entry.js`. In it are the Scene, Camera, Renderer, the window event listeners and the animation loop.\n\n\n## License\n[MIT](https://github.com/edwinwebb/three-seed/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduguyihou%2Fplayground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fduguyihou%2Fplayground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduguyihou%2Fplayground/lists"}