WebGPU compute + shader demo
Benchmark compute and learn fragment shaders with uniforms.
Benchmark
Fragment shader
Matrix size
256 × 256
512 × 512
1024 × 1024
2048 × 2048
Run benchmark
GPU time
—
CPU time
—
Speedup
—
Match
—
Initializing shader…
Bend amount
0.30
WGSL fragment shader
Apply shader
Ready