This is a general template for ThreeJS applications. It uses Parcel to create the bundle and Tweakpane for live updates.
Before we start
This has been developed with NodeJS
14.15.5; it should work with other versions too, but in case something doesn't work I recommend to switch to version
14.15.5 with nvm.
$ yarn install
$ yarn dev
then open a new browser window and navigate to
$ yarn build