Three.JS rotation gizmo

Running it

Run yarn install or npm install to install dependencies.

Start a local webserver (pick one of the options from the three.js documentation if you're not sure.

Done!

Sidenote

This is a self-contained version of the code highlighted in this YouTube video but with correct versions of three.js noted in the package.json to make it work.