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 a work-in-progress on GitHub, and the implementation may differ from the current API. Make sure you are on a system with WebGPU enabled. In Safari, first make sure the Feature Flags Menu is visible (Preferences > Adva