This is the compute shader engine for https://compute.toys
As well as running on the web via WebAssembly and WebGPU, it can run natively using standard desktop graphics APIs like Vulkan and DirectX.
cargo run examples/davidar/buddhabrot.wgsl
Install wasm-pack and run
The following command can be used to quickly recompile while the compute.toys server is running:
wasm-pack build --dev && cp -rv pkg/. ../compute.toys/lib/wgputoy/