The WebGPU library,
designed for agents.
Examples
View all →
Black Hole
Raymarched gravitational lensing — null geodesics bend starlight around an event horizon while a Keplerian accretion disk glows with Doppler beaming, graded through an HDR bloom chain.

Raymarched fractal
A raymarched Sierpiński tetrahedron emerges from pure black under directional light and restrained HDR bloom, with drag-only orbit controls.

Particles ocean
A deep-water surface driven by a real inverse FFT. A Phillips spectrum evolves in frequency space, Stockham passes produce a displacement field, and half a million particles ride the waves through an HDR bloom chain.

Triangle LED Hero
Analytic edge-glow triangle with LED emitters, floor radiance, and interactive color deploy. Canvas-scoped pointer input drives the lighting while an accessible mode selector chooses highlighted edges.
Why vgpu
WGSL modules
Import and export WGSL like TypeScript. Compose shaders from modules, not string templates.
Ready for agents
Docs, CLI and skill built for coding agents. Your agent gets the full API in one command.
Runs on web and Node.js
One API everywhere. Render to canvas in the browser, test and screenshot headlessly in Node.