{"id":21601503,"url":"https://github.com/flippingbitss/playing-with-threejs","last_synced_at":"2025-07-01T16:06:01.376Z","repository":{"id":68236311,"uuid":"119849923","full_name":"flippingbitss/playing-with-threejs","owner":"flippingbitss","description":"ThreeJS classwork for COMP-392 - Advanced Graphics","archived":false,"fork":false,"pushed_at":"2018-04-28T15:40:15.000Z","size":346,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T13:19:19.272Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/flippingbitss.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"contributing/README.md","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":"2018-02-01T14:54:14.000Z","updated_at":"2018-04-28T15:40:16.000Z","dependencies_parsed_at":"2023-06-05T20:45:49.720Z","dependency_job_id":null,"html_url":"https://github.com/flippingbitss/playing-with-threejs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/flippingbitss/playing-with-threejs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flippingbitss%2Fplaying-with-threejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flippingbitss%2Fplaying-with-threejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flippingbitss%2Fplaying-with-threejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flippingbitss%2Fplaying-with-threejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flippingbitss","download_url":"https://codeload.github.com/flippingbitss/playing-with-threejs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flippingbitss%2Fplaying-with-threejs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262996340,"owners_count":23396902,"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-24T19:09:42.905Z","updated_at":"2025-07-01T16:06:01.358Z","avatar_url":"https://github.com/flippingbitss.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Webpack Babel Starter\n=====================\n\n[![Build Status](https://travis-ci.org/topheman/webpack-babel-starter.svg?branch=master)](https://travis-ci.org/topheman/webpack-babel-starter)\n![Release](https://img.shields.io/badge/release-v3-blue.svg)\n\nA **webpack 2** starter kit with full development \u0026 build workflow, inspired by [topheman/react-es6-redux](https://github.com/topheman/react-es6-redux).\n\nWhat's in this boilerplate:\n\n* Development / Build / Lint tasks\n* [Babel](https://babeljs.io/) transpiler\n* [Eslint](http://eslint.org/) / [babel-eslint](https://github.com/babel/babel-eslint) / [eslint-config-airbnb-base](https://www.npmjs.com/package/eslint-config-airbnb-base)\n* Sass support\n* Ship a version of your site with sourcemaps (see demo)\n\nAlready in use in the following projects:\n\n* [topheman/rxjs-experiments](https://github.com/topheman/rxjs-experiments) (RxJS) *(switched to v2)*\n* [topheman/react-es6-redux](https://github.com/topheman/react-es6-redux) (React/Redux/Github Api) - since [v3.0.0](https://github.com/topheman/react-es6-redux/releases/tag/v3.0.0) *(using v1)*\n* [topheman/d3-react-experiments](https://github.com/topheman/d3-react-experiments) (React/d3) *(switched to v2 + setup [react-hot-loader@3](https://github.com/topheman/d3-react-experiments/commit/8840b679e9b72310c7bb0a9749cab0a58a568f1f))*\n\nI also have ported it on [topheman/angular2-sandbox](https://github.com/topheman/angular2-sandbox) to be used the same way in an Angular2 / TypeScript project *(using v1)*.\n\n### Install\n\n```shell\ngit clone https://github.com/topheman/webpack-babel-starter.git\ncd webpack-babel-starter\nnpm install\n```\n\n### Run\n\n```shell\nnpm start\n```\n\nGoto [http://localhost:8080](http://localhost:8080)\n\nIf you need to access from a remote device (such as a smartphone on the same network), just `LOCALHOST=false npm start` and your site will be accessible via your IP (which will be output on the terminal at launch).\n\n### Build\n\nThe `./build` directory is ignored by git, it will contain a `dist` directory which holds the distribution version of your website (the one that you will [ship once built](https://github.com/topheman/webpack-babel-starter/wiki#deploy)).\n\nAll the build tasks will create a built version of the project in the `./build/dist` folder, cleaning it before making the build.\n\n* `npm run build`\n* `npm run build-prod` optimized / uglified version\n* `npm run build-prod-all` will build:\n\t* production version (optimized / uglified)\n\t* a debuggable version accessible at `/devtools` shipping all the sourcemaps, to ease sharing transpiled source code\n\n`npm run serve-dist` will serve your `./build/dist` folder at [http://localhost:3000](http://localhost:3000) so that you could test the built version you just made.\n\n### Linter\n\n* eslint is running while you're developping, check your console for errors\n* you can also launch it via `npm run lint`\n* see `.eslintrc` for the configuration (currently, this project uses [the airbnb presets](https://www.npmjs.com/package/eslint-config-airbnb-base) - if you find it to restrictive, just remove `\"extends\": \"airbnb-base\"` in the `.eslintrc`)\n\n### Customizations\n\nYou can customize the behavior of the scripts by specifying environments vars:\n\n* `NODE_ENV` by default at `development`, `NODE_ENV=production` when you `npm run build-prod`\n* `LINTER=false` will disable the linter (enabled by default, ex: `LINTER=false npm start`)\n* `STATS=true` will write `stats.json` profiling file on disk from webpack at build (disabled by default, ex: `STATS=true npm run build`)\n* `FAIL_ON_ERROR=true` will break the build if any errors occurs (useful for CIs such as travis - at `false` in dev-server, at `true` when building)\n* `LOCALHOST=false` to access via IP from other devices on the same network (ex: `LOCALHOST=false npm start` - default `true`)\n* `DEVTOOLS`: By default at `null`. Used internally by `npm run build-prod-all` (you may not need that if you don't do OSS)\n\n### Assets\n\nThe main image loaders are declared in the webpack config so that when you `require('./foo.png')` or use the helper `url('./bar.gif')` in your `.scss` files, at build time, those images will automatically be:\n\n* copied into `/build/dist/assets`\n* there name will be hashed (without you bothering with the reference in the generated code)\n* the hashed name will only change if the file changes (caching \u0026 git friendly)\n* I made sure that the css supports relative urls (this is why `main.css` lands at the same level as `index.html`)\n\n### FAQ / Deploy\n\n* deploy on github pages - [see wiki](https://github.com/topheman/webpack-babel-starter/wiki#deploy)\n* a problem ? Checkout the [FAQ](https://github.com/topheman/webpack-babel-starter/wiki#faq)\n* [Using React](https://github.com/topheman/webpack-babel-starter/wiki#react-hot-reload) ? Checkout how I integrated all the usual tools around React on some of my own projects, based on this boilerplate.\n\n### Bonus\n\nCheck the source code of the html/js/css generated files, you'll see a banner containing informations such as:\n\n* date the build was made\n* version\n* git revision / link to this revision on github\n\n### Contributing\n\nPRs are welcome, just keep in mind this boilerplate aims to keep beeing framework agnostic.\n\nEverything related to contributing (tests, framework dependencies ...) is located in the [/contributing](https://github.com/topheman/webpack-babel-starter/tree/master/contributing) folder. Check the readme in there to see how to setup your workspace.\n\n### Versions\n\n#### v3 (current)\n\n* Dropped yarn for npm@5 (you remain free to choose whatever package manager you want, the project is compatible with both yarn and npm).\n\n#### v2\n\nStill available on this [branch](https://github.com/topheman/webpack-babel-starter/tree/v2).\n\nMigrated to [webpack2](https://webpack.js.org/). The workflow and the npm tasks remain exactly the same.\n\nIf you were using the v1 with webpack1, the webpack team has [a migrating path](https://webpack.js.org/guides/migrating/). You can also see the steps I followed to migrate this stack from v1 to v2:\n\n* [setup yarn](https://github.com/topheman/webpack-babel-starter/commit/744efcc1b50c323799dec6555832e58d2c80bd6a) (unrelated to webpack)\n* [minimal changes for migration to webpack v2](https://github.com/topheman/webpack-babel-starter/commit/848884d7ea85d86b7e5e2a504fe30eeb4aad6568)\n* [upgrade eslint](https://github.com/topheman/webpack-babel-starter/commit/fa8d5d3eee6091d9e4dc0e9d97104947e04aa511)\n* [code splitting with `import()`](https://github.com/topheman/webpack-babel-starter/commit/41dc1e1ccb540cc6214a93731acb578d86093634)\n* [upgrade minor dependencies](https://github.com/topheman/webpack-babel-starter/commit/01d8ec53b49988dd39f88435fa91bd7e0444bce5)\n\n#### v1\n\nStill available on this [branch](https://github.com/topheman/webpack-babel-starter/tree/v1).\n\nFirst version, using webpack1.\n\nCopyright 2017 © Christophe Rosset\n\n\u003e Permission is hereby granted, free of charge, to any person obtaining a copy of this software\n\u003e and associated documentation files (the \"Software\"), to deal in the Software without\n\u003e restriction, including without limitation the rights to use, copy, modify, merge, publish,\n\u003e distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the\n\u003e Software is furnished to do so, subject to the following conditions:\n\u003e The above copyright notice and this permission notice shall be included in all copies or\n\u003e substantial portions of the Software.\n\u003e The Software is provided \"as is\", without warranty of any kind, express or implied, including\n\u003e but not limited to the warranties of merchantability, fitness for a particular purpose and\n\u003e noninfringement. In no event shall the authors or copyright holders be liable for any claim,\n\u003e damages or other liability, whether in an action of contract, tort or otherwise, arising from,\n\u003e out of or in connection with the software or the use or other dealings in the Software.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflippingbitss%2Fplaying-with-threejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflippingbitss%2Fplaying-with-threejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflippingbitss%2Fplaying-with-threejs/lists"}