A Three.js starter template that helps you group your code better and hides the boilerplate clutter away from your main file. This template does not cover all scenarios or usages of Three.js, and is still under development. Feel free to fork it or raise pull requests! By the way, I have created a newer react-three-fiber starter template, go check it out and fork it! https://github.com/franky-adl/rtf-starter-template
The sample scene used by this boilerplate
- Does all the usual Three.js setup code for you so you can focus on your own scene and objects
- Uses async/await for texture/images loading such that the scene unveils only after all images are loaded
- Uses Parcel with minimal configurations so you don't need to care about setting up the bundler
- dat.gui: 0.x (to get latest 0.* version)
- three: 0.x (to get latest 0.* version)
- parcel: ^2.7.0
- npm i
- make dev