Search Three3D

Three.js Vite Starter

Start with plain JavaScript, a rotating cube and OrbitControls in Vite.

Pricing
Free · Open source
License
Apache-2.0 (template code)
Formats / platform
Web, Vite, JavaScript
Topics
Three.js
The starter’s multicolored cube viewed from an angle against a black background
The template’s actual local scene after orbiting and zooming with OrbitControls. Three.js Vite Starter repository

Overview

A small scene makes it easy to see how the entry point, renderer, camera and frame loop fit together. Use the rotating cube as a reference while adding a light or switching the geometry to a model.

Best for

Key features & formats

How to use & license notes

Clone the repository, install its dependencies and run npm run dev. Replace the cube and check resizing before running npm run build. Keep the Apache license and applicable notices with a redistributed template.

Official site and license checked .