An infinite canvas of 5,000 live React screens painted by WebGPU
A developer used Claude Code to build a demo of Chrome's HTML-in-Canvas API in which 5,000 real DOM screens are painted by the GPU at over 110 fps and stay typeable.
Credits
- Reddit poster berkantdev Source ↗
Earliest dated source:
The full story
Chrome's new HTML-in-Canvas API lets the GPU paint real DOM. A developer used it to build an infinite canvas of 5,000 live React screens where state, inputs, clicks, CSS and the accessibility tree all still work, so you can type into any of them.
Panning and zooming never touch the DOM, which is the trick; it runs at 113 to 115 fps on an M-series Mac. They built it with Claude Code, and it is MIT-licensed on GitHub.
How it was done
Tools
Themes
Loading themes…
Sources
From a short post by the maker, so the details are as they tell them.
- Reddit: i let WebGPU paint 5,000 live react screens and you can still type in all of themReddit poster: berkantdevPosted
The maker's post in r/webdev.
- The project: berkantay.github.io
The project on berkantay.github.io.