WebGPU demos

A collection of simple WebGPU examples can be found at webgpu.github.io. They should work in the latest WebKit builds and Safari Technology Preview release. The full specification is currently a W3C Candidate Recommendation and WebKit's implementation is aligned with it.

Make sure you are on a system with WebGPU enabled. WebGPU is enabled in Safari Technology Preview and Safari 26.0 beta.


Hello World Triangle


Hello World Cube


Textured Cube


Compute Shader Blur


Using a video element with WebGPU


Sorting with WebGPU


Compute Shader Flocking


Cornell Box rendering

WebGPU port of the Animometer MotionMark benchmark