Starts a Vite project with TypeGPU Kit and a scene to build on:
npm create @typegpu/kit my-sceneThe project is the one Getting started builds: Vite with the TypeGPU plugin, tsover, the kit and a scene hosted on a canvas. Its AGENTS.md points coding agents at the kit's skill. The directory must be new or empty.
In a terminal it asks which of the starter scenes to begin with. --scene names one without asking, and without a terminal it writes shader:
npm create @typegpu/kit my-scene -- --scene lit| Scene | Draws |
|---|---|
shader |
one fragment function over the whole canvas |
lit |
a mesh, a sun and its shadow, under an orbit camera |
finished |
the lit scene with HDR, bloom and a tone curve |
simulation |
particles a compute kernel moves each step |
MIT