Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 930 Bytes

README.md

File metadata and controls

23 lines (13 loc) · 930 Bytes

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.