Skip to content

A basic THREE.js project in TypeScript with Vite. Includes OrbitControls, Stats and basic shadows.

Notifications You must be signed in to change notification settings

defmech/vite-threejs-ts-starter

Repository files navigation

vite-threejs-ts-starter

A basic THREE.js project in TypeScript with Vite. Includes OrbitControls, Stats and basic shadows.

View demo hosted on CloudFlare pages: vite-threejs-ts-starter.pages.dev

Press e key to export canvas as PNG in a new browser tab.

Getting started

Install dependencies. npm install

Start development server. npm run start

Alternate Demos

Toggle commented out code in main.ts to run the Shader.ts demo. Based on the THREE.js example from Book Of Shaders.

About

A basic THREE.js project in TypeScript with Vite. Includes OrbitControls, Stats and basic shadows.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published