Get started
vgpu runs in two places with the same API: the browser, where WebGPU renders straight to a canvas, and Node.js, where Dawn renders headless for scripts, servers, and tests.
Agents
vgpu is agent-first — the full documentation ships inside the package. Point your agent at npx vgpu.
Web
Render to a canvas with WebGPU, and set up the .wgsl loader for Next.js or Vite.
Node.js
Render headless through Dawn — save a PNG or assert on pixels in a test.
Next: the concepts
Once you can render on your platform, learn the ideas every vgpu program is built from.
ConceptsContext, effects, passes, frames, and render bundles — in reading order.