Compute

GPU compute next to the CPU: image filters against a JS baseline, live video effects, a raymarched SDF scene, and reaction-diffusion.

WGSL image filters vs JS baseline

The same filter, twice: a WGSL compute shader and a plain JS loop at the same kernel size. GPU time is measured from submit to queue completion; the cold run that includes shader compilation is shown separately.

GPU (WGSL compute)
Poster: lion image with an edge-detection filter applied

Reduced motion is on — showing the poster instead of the live scene.

CPU (JS baseline)

Pick a filter and press Run. Bilateral shows the biggest gap.