/threejs-typescript-webpack-boilerplate

Boilerplate to quickly spin-up and begin quickly prototyping in Three.js.

Primary LanguageTypeScript

threejs-typescript-webpack-boilerplate

Boilerplate to quickly spin-up and begin quickly prototyping in Three.js. Boilerplate taken from Sean Bradley's "Three.js and Typescript" course.

How to use

Open terminal and type:

git clone https://github.com/jonahvsweb/threejs-typescript-webpack-boilerplate.git
cd Three.js-TypeScript-Boilerplate
npm install
npm run dev

Open a browser and visit http://localhost:8080/ and you should see a spinning green wireframe cube against a black background. You will also be able to interact with the cube and zoom in and out using your mouse.