ThreeJS TypeScript Starter
I made this because I wanted to experiment with ThreeJS. ThreeJS has a massive API and TypeScript is pretty critical for a nice auto-complete experience in an IDE like VSCode. I also wanted live-reloading for fast iteration.
Getting Started:
- Clone this repo
yarn install
ornpm install
yarn dev
ornpm run dev
- Open up your browser to
localhost:9000
Just get started with editing your typescript code in: ./src/index.ts
Commentary
- This uses
ts-loader
,webpack
- See
webpack.config.js
for configuration
Ending thoughts
I love threejs and 3D in general! Follow me on twitter @sudomax
I'm one of the CoFounders of Ditto, which an SDK that allows apps to sync even without an internet connection. You can follow us more on @dittolive.