Skip to content

About

A Vite-based starter project for Three.js with some of the essentials

Topics

Resources

Stars

169 stars

Watchers

2 watching

Forks

Latest commit

 

History

206 Commits

Folders and files

Repository files navigation

Github-CI: Build Status

Three.js Vite Template with TypeScript

Three.js + Vite + TypeScript starter


screenshot


Tech Stack

  • Three.js
  • TypeScript
  • Vite

Stuff included in the scene.ts

  • Geometry
  • Material
  • Mesh
  • Ambient Light
  • Point Light
  • Camera
  • Scene
  • Canvas
  • Renderer (WebGL)
  • Loading Manager
  • Orbit Controls
  • Drag Controls
  • Grid
  • Antialias enabled
  • Transparent canvas
  • Responsive renderer and camera (to canvas size)
  • Animation Loop
  • Shadows
  • Stats (FPS, ms)
  • Full screen (double-click on canvas)
  • Debug GUI

CLI Commands

Installation

npm i

Run dev mode

npm run dev

Build

npm run build

Run build

npm run preview

About

A Vite-based starter project for Three.js with some of the essentials

Topics

Resources

Stars

169 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages