progriumJeff Lindsay

skia-wasm: Skia Graphite on WebGPU, compiled to WebAssembly ↗ github.com

skia-wasm compiles Skia's Graphite renderer to WebAssembly and runs it on the page's WebGPU device through Dawn's Emscripten bindings. It comes from William Candillon of React Native Skia and links the same prebuilt Skia archives as their native builds. The API is in the style of CanvasKit, with canvases, paints, and paths, but it sits on plain C exports instead of embind and trades CanvasKit's rect and matrix objects for plain numbers, string enums, CSS colors, and explicit disposal. It's early and still at 0.x, but already covers paths, shaders, filters, text, and paragraphs.