Skip to content
项目

关于

Modern ThreeJS boilerplate powered by Vite & Typescript.

设计与媒体

这些数字如何统计

可以做什么

  • Powered with Vite+ 📦
  • GUI controls using Tweakpane 🎛
  • No classes, just factories 🎯
  • Shader support (glsl) with vite-plugin-glsl 🎨

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Modern ThreeJS ⚡️

Modern ThreeJS boilerplate powered by Vite+ & Typescript.

Modern ThreeJS

Live demo here

Features

  • Powered with Vite+ 📦
  • GUI controls using Tweakpane 🎛
  • Typescript 🦾
  • No classes, just factories 🎯
  • Shader support (glsl) with vite-plugin-glsl 🎨
  • Optimized production build — three and tweakpane split into separate vendor chunks for better caching

You can help me keep working on this project 💚

Check it out

You can create a repo with this template here

Or if you prefer to do it manually with the cleaner git history

npx degit alvarosabu/modern-three my-awesome-three
cd my-awesome-three
pnpm i # If you don't have pnpm installed, run: npm install -g pnpm

Use it

pnpm dev

This will serve the app at http://localhost:5173

Build it

pnpm build

Builds the app for production to the dist folder. The build is minified, filenames include hashes, and vendor libraries (three, tweakpane) are split into separate chunks for efficient browser caching.

探索相关项目

加载中…