← Market Pulse · Nov 15
gpucanvas: renders thousands of DOM nodes on an infinite canvas using the GPUGitHub · created Nov 12 (3 days ago) · original page ↗
Stars / day new0 → 316

Reply "this is the open-source version" under a big account's closed-source demo post

What it isAn open-source front-end library: put thousands of live web components on an infinite canvas and let the GPU draw them, no lag.

Why it grewThe author replied "this is the open-source version" under a Dessn co-founder's post (110K views) and got 284 likes

What to takeWhen a peer's big account shows off a closed-source demo, reply with a working open-source version. The thing has to be built first, and the reply has to be fast.

Who built itBerkant Ay, solo developer in BerlinHow it makes moneyFree, MIT open source, no path to chargingStaying powerHard to say: the attention is borrowed, and it only works on new Chrome
Author's comparison demo: the same 5,000 live React interfaces, plain DOM on the left at 10 fps, gpucanvas on the right at 100 fps

Positioning and edge

Who it's forFront-end developers building AI design tools, whiteboards and canvas productsThe job it doesZoom and pan thousands of interactive, real interfaces on one screen without dropping framesWhat people did beforeBrute-forcing the DOM with CSS transform, or writing your own rendererThe wedgeChrome 157's new API had just gone stable, and it was first to wrap it into a library

How it differs from the rest

  1. MIT open source, one-line npm install, up against closed-source products「making it open source is even crazier」
  2. Nodes are still real DOM, but the GPU draws them all in one passAuthor's own test with 5,000 screens: 117 fps versus 23 fps for plain DOM
  3. Doesn't write its own renderer; borrows the browser's new API directlyUses HTML-in-Canvas to record the DOM into textures; shipped up to 0.4.2 in one day
  4. Comes with an interface for AI agents to read the canvas (the author's own pitch)A login page exports as about 35 entries, a 3.5 KB JSON, and you can screenshot any region

Who else is in the space

Similar productHow it differs from this one
DessnA design canvas that runs real code, raised $6MDessn built its own renderer, closed-source and paid; this borrows the browser's and is free
tldraw SDKInfinite canvas SDK, 51K starstldraw requires buying a license for commercial launch; this is MIT, use it freely
React FlowNode-based canvas library, 39K starsReact Flow lays out nodes with the DOM; this hands drawing to the GPU
OnlookOpen-source AI design tool, 27K starsOnlook is a finished app; this is a library for building tools

Can it hold?Can't be defended: it's built on a public Chrome API, and Dessn has said it might open-source too. This is only two days ahead.

How it happened

  1. Author released lucius, a canvas tool that lets AI draw HTML pages, still at 8 stars ↗

  2. Chrome officially announced HTML-in-Canvas ships in stable with version 157 ↗

  3. Created the repo and published npm 0.1.0; about 40 commits and 7 releases within a day ↗

    The trigger: above is the Dessn co-founder's demo post, below is the author's reply 75 minutes later, "this is the open-source version", 284 likes (screenshot in US Pacific time)
  4. Dessn's co-founder posted a canvas demo: 7,000 pages at 120 fps, 112K views ↗

  5. At 23:44 the author replied "this is the open-source version" under that post with the repo link: 284 likes, 10K views ↗

  6. In the early hours the author posted his own introduction (167 likes); at 04:59 he said it passed 100 stars in 2 hours ↗

    A few hours later the author shared the good news: 100 stars in 2 hours (screenshot in US Pacific time, Nov 13; early hours of Nov 14 Beijing time)
  7. Passed 250 stars in the afternoon; Chinese and English news accounts retold it, and someone opened the first issue ↗

  8. GitHub: 441 stars, 27 forks; one daily count showed +316 stars ↗

In detail

What it's like to use

Install with npm install gpucanvas, then wrap a bunch of <CanvasNode> in <GpuCanvas>, and put your own React component in each node. The components are still real DOM: state, events, CSS and accessibility all work as usual. But WebGPU draws the picture in one pass, and panning and zooming no longer touch the DOM. The mechanism is the HTML-in-Canvas API, newly stable in Chrome 157: the browser records the DOM into textures, and the library packs them into an atlas, using 1/16 thumbnails when far away and filling in sharp tiles as you zoom in. The live demo has 5,000 app interfaces you can click and type in; press b to run the benchmark. Beyond the canvas, it ships with an editor (click to select, double-click to drill in, drag with snapping), a dozen or so shader effects, and a JSON tree plus region screenshots for AI agents to read the canvas.

Why people bought in

What got people to star it wasn't the effects, it was the words "open source". The Dessn co-founder's demo post was about the in-house HTML renderer inside their closed-source product (paid tier from $39/person/month). gpucanvas offers an MIT library you can install today. Quotes from the replies: "this is crazy, making it open source is even crazier"; another canvas developer said "I was about to build a similar optimization for my own canvas, and I'll follow your architecture." On the day of the post, someone moved their own kanban UI onto it: 828 React interfaces, 103,000 DOM nodes, 3 fps with plain DOM, 60 fps after switching.

There are plenty of caveats too. 117 fps versus 23 fps was the author's own test on an M-series Mac; one replier said it only got about 12 fps on an RTX 5080, rising only after zooming in. The GPU path only runs on Chrome 157 and above; Firefox, Safari and all iPhone browsers fall back to ordinary DOM. It also isn't the same thing as Dessn: Dessn wrote its own renderer, this borrows the browser's API, so "open-source version" is a marketing line. It's version 0.4, and the author himself writes that the API will still change.

Details of the growth

The order of events matters: the repo was created at 7 a.m. Beijing time on Nov 13, about 15 hours before the Dessn post. He didn't build it after seeing the post; he happened to finish, and then the moment came. The Dessn post went out at 22:29, the author replied at 23:44, and that reply got 284 likes and 10K views, more than his own formal introduction post two hours later (167 likes). An account that normally gets a dozen or so likes per post on X took the star count from 0 to 441 (Nov 15) on the back of someone else's 110K views. On npm it got 1,188 downloads in two days, but it shipped 10 versions in those two days, and many downloads are automatic mirror fetches, so they can't be counted as users. Star growth is already slowing: after the daily count of 316 stars, only about 44 more came in roughly 9 hours (estimate).

The money, and whether to follow

There is no path to charging: MIT, no sponsor link, no hosted version. The author previously built lucius (8 stars), a canvas tool that lets AI draw HTML pages, and gpucanvas looks more like a way to build reputation for that line.

What you can copy is the playbook, not this library. One: in the first weeks after a browser or platform releases a new capability, wrap it into a "one-line install" library. The window is short but worth a lot. Two: when a big account in your space posts a closed-source demo, be first to reply with a working demo and repo, and say in one sentence "you can use mine right now". What to avoid: don't mistake borrowed attention for demand, since this kind of library can't be defended. The API is public, and Dessn has said it might open-source its own renderer. To make real money, you'd have to build a layer above the library: a specific design review, prototyping or agent workbench.

Someone used it the same day: 828 React interfaces, 103,000 DOM nodes, 3 fps with plain DOM, 60 fps after switching
What sets it apart from other canvas libraries: an agent cursor circles a heading on a live login page, connects arrows and pins comments