A modern web-based editor with a Three.js WebGPU engine.
VASE/
├── editor/ # VASE Editor - Svelte 5 application
│ ├── src/
│ │ ├── routes/
│ │ │ └── +page.svelte # Main page with canvas
│ │ └── app.html # HTML template
│ └── package.json
└── engine/ # VASE Engine - Three.js WebGPU engine library
├── src/
│ └── index.ts # Engine implementation
├── dist/
│ ├── engine.js # Bundled library
│ └── engine.d.ts # TypeScript declarations
├── build.js # esbuild configuration
└── package.json
First, install dependencies for the VASE Engine:
cd engine
npm install
cd ..
Then install dependencies for the VASE Editor:
cd editor
npm install
The VASE Editor automatically builds the VASE Engine before starting:
cd editor
npm run dev
This will:
predev hook)You should see a rotating 1x1x1 cube in the center of the screen with orbital camera controls.
cd engine
npm run build # Build once
npm run watch # Build and watch for changes
cd editor
npm run build # Production build
npm run preview # Preview production build
WebGPU is required to run this application. Supported browsers:
dom.webgpu.enabled flag)