three-js-boilerplate
Simple starter for small three.js projects
File Explorer
Download Latest Version (.zip)- OrbitControls.js
- MTLLoader.js
- OBJLoader.js
- r2-d2.mtl
- r2-d2.obj
- R2D2_Diffuse.jpg
- R2D2_Illumination.jpg
- R2D2_Normal.jpg
- R2D2_Reflection.jpg
- R2D2_Specular.jpg
- index.html
- scripts.js
- background.jpg
- earth.jpg
- space-background.jpg
- index.html
- scripts.js
- DragControls.js
- index.html
- scripts.js
- video.mp4
- index.html
- scripts.js
- .gitkeep
- index.html
- scripts.js
- .gitignore
- index.js
- package-lock.json
- package.json
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/learnthreejs/three-js-boilerplate
Downloads the entire project code from GitHub to your computer.
cd three-js-boilerplate
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
$ npm install
Downloads and installs the libraries listed in package.json.
$ npm run start
Starts the development/run server.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
