An open API service indexing awesome lists of open source software.

https://github.com/compute-toys/wgpu-compute-toy

Cross-platform compute shader engine
https://github.com/compute-toys/wgpu-compute-toy

computer-graphics rust shaders shadertoy wasm webgpu wgpu wgsl

Last synced: about 1 year ago
JSON representation

Cross-platform compute shader engine

Awesome Lists containing this project

README

          

# wgpu-compute-toy

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.

## Native

```sh
cargo run examples/davidar/buddhabrot.wgsl
```

![screenshot](https://user-images.githubusercontent.com/24291/230871630-7bee3977-8d24-4259-8af6-639232929672.png)

## Shortcuts

- `space` to toggle pause/resume of the rendering
- `esc` to exit
- `backspace` to reset time

## Web

See https://github.com/compute-toys/compute.toys