WebGPU & Shaders
ditherwave
Apply Bayer dithering, halftone, or ASCII effects to images and video with WebGL2.
Describe GPU data and write WebGPU shaders with TypeScript type information.
TypeGPU helps keep buffer layouts, shader interfaces, and CPU-side code in agreement. Adopt its typed data schemas alongside existing WebGPU code or use its higher-level shader functions.
Start with an official example and verify that the browser exposes WebGPU. Introduce a data schema for one uniform or buffer first and compare it to the shader layout it replaces.