webgpu-examples

WebGPU Examples

Rendering algorithms implemented in WebGPU.

Examples currently only run without special flags in Chrome on Windows and OSX. See the Implementation Status page for updates on support.

All examples are implemented in a single HTML file with minimal use of functions, modules, classes or other abstractions. The goal is to allow the reader to easily see, in sequential order, all WebGPU calls that are made. They can be run locally by serving them from a local HTTP server, e.g. python -m http.server.