Well, Three.js has a lot of boilerplate to get even a basic project up and running. I was spending a lot of time just setting up the same scene, camera, orbitcontrols therefore I decided to make a super basic minimal template to save me time and serve as good practice.
This was heavily inspired by this book Discover Three.js which was one of the main resources I used to learn the basics of three.js.
- Clone this repo
npm install
npm run dev
and viola you have a working example
Well, nothing is perfect but I still need to decide on which best practices to use. Currently I am using Clock.getDelta() but I have been warned to not use it I will update it once i've learned the best practices.
I am merely a beginner so please send a pull request and improve any errors you find!.