wgpu-kit

A universe of compute.
In your browser.

Start building ↗
Initializing WebGPU
Move to stir · Drag to guide · Click to sparkSky source ↗

A small API. A wider canvas.

Write custom compute, keep data on the GPU, and connect the result to your renderer. Explore what the same building blocks can do.

Explore all examples →

Your shader. Your pipeline.

Declare the data. Write the function. Prepare once, encode into your command buffer, and render from the same GPU storage.

Typed data

One schema connects TypeScript values, GPU buffers, and WGSL fields.

defineSchema →

Explicit control

Prepare pipelines, encode passes, and decide when work is submitted.

prepare / encode →

Build something of your own.

Getting started →

Install the package and run a first compute kernel.

API reference →

Buffers, schemas, kernels, and GPU primitives.

Composition →

Bring compute and rendering into one command buffer.

Examples →

Live experiments with read-only source.

Search concepts, APIs, and examples