vgpu

vgpu

1 min read Original article ↗

One shader. Render everywhere.

Use the same shader in the browser and headless Node.js. Make it interactive, render it at any resolution, turn it into video, or run tests on your CI.

Webinteractive · canvas

Imagepng · 8192 × 4608

Videomp4 · 60 fps

CIheadless · artifact

CI runs the render test, compiles the shader, renders a headless frame, compares the snapshot, and passes.

Shader code that scales.

Import and export WGSL like TypeScript. vgpu resolves the module graph, reflects bindings, removes unused declarations, and emits compact shader source at build time.

The CLI guides your agent.

The docs, examples, validation tools, and runtime diagnostics are accesible from the CLI. Everything starts with npx vgpu

Explore the Docs

Building agent tooling? Read the vgpu Examples API reference or inspect its OpenAPI 3.1 description.