gpucanvas puts thousands of live DOM or React nodes on an infinite canvas and draws them with WebGPU in one instanced pass, so panning and zooming never touch the DOM while clicks, typing and React state still work. It adds an editor with selection, snapping and resize, WGSL shader effects on live components, snapshots and pixel diffs, and an agent view that exports the canvas as a JSON tree. The tradeoff is browser support: the GPU path needs WebGPU plus HTML-in-Canvas, which the README says is on by default only in Chrome 157+ on desktop; Firefox, Safari and iOS fall back to plain DOM. MIT, about 550 stars.
You are building a design tool, whiteboard or screen gallery in React where hundreds of live screens slow plain DOM down.
Most of your users are on Safari or iPhone; they get the DOM fallback, so the main benefit disappears.
# Clone + explore: git clone https://github.com/berkantay/gpucanvas cd gpucanvas # Then read the README below for setup steps.
Inferred from package · always double-check against the official README below.