Back to gallery
berkantay/gpucanvas on GitHub — open-source project preview
berkantay
Built byberkantay/

gpucanvas

Stars
550
Forks
0
Watchers
0
Open issues
0
main Updated 11 hours ago~550 stars/day lifetime
Editor's take

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.

Use this if

You are building a design tool, whiteboard or screen gallery in React where hundreds of live screens slow plain DOM down.

Skip if

Most of your users are on Safari or iPhone; they get the DOM fallback, so the main benefit disappears.

UI Components
Quick install
# 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.

Live data via GitHub REST API · Cached 30 min · Created 24 Nov 2026