Editor to try out and share WebGPU compute shader snippets.
Define a fn compute() -> f32 function in the editor.
fn compute() -> f32
The compute shader is executed continuously as you type, and the result is shown below the editor.
The page URL is updated with the current code for shareability.
Source: github.com/fornwall/webgpu-compute-playground