Three.js Starter Template
A minimal Three.js starter powered by Vite and Bun. It includes a textured cube, ambient and directional lighting, orbit controls, and responsive canvas resizing.
Summary
| Latest Version | Unknown |
|---|---|
| License | Unknown |
| CI Status | Failing |
| Stars | 1 |
| Forks | 0 |
| Open Issues | 0 |
| Last Commit | 2026-06-19 |
| Downloads | 0 |
| Last Indexed | 2026-09-07 06:08 |
Tags
Installation
nimble install Three.js Starter Template
choosenim install Three.js Starter Template
git clone https://gitlab.com/AlexNottaBen-Templates/Three.js-Starter-Template
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| Three.js Starter Template | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Source
| Repository | https://gitlab.com/AlexNottaBen-Templates/Three.js-Starter-Template |
|---|---|
| Homepage | https://gitlab.com/AlexNottaBen-Templates/Three.js-Starter-Template |
| Registry Source | gitlab |
README
🌐 Three.js Starter Template
A minimal Three.js starter powered by Vite and Bun. It includes a textured cube, ambient and directional lighting, orbit controls, and responsive canvas resizing.
📋 Prerequisites
- Bun installed locally
- A browser with WebGL support
📦 Installation
Install the locked dependencies from the repository root:
bun install
🚀 Development
Start the Vite development server:
bun run dev
Open the local URL printed in the terminal. Drag to rotate the camera and scroll to zoom.
🏗️ Production Build
Create and preview an optimized production build:
bun run build
bun run preview
The generated files are written to dist/.
📁 Project Structure
.
├── assets/textures/ # Texture images and license information
├── css/styles.css # Global page styles
├── js/script.js # Three.js scene and render loop
├── index.html # Application entry page
└── package.json # Dependencies and project scripts
🛠️ Customization
Edit js/script.js to add meshes, lights, materials, or animation. Place new static files under assets/ and reference them with paths relative to index.html.
📄 License
Project licensing is documented in LICENSE. Check assets/textures/LICENSE.md before redistributing the included texture.