Loading video...

Video Failed to Load

Go Home

HTML-in-Canvas will open a door for innovation on the web Create UIs and user experiences that are more engaging and sensible than ever before Very straightforward and accessible Extremely normal interfaces! Experimental - Requires activation of the chrome://flags/#canvas-draw-element flag in Chrome

24,870 views • 5 months ago •via X (Twitter)

17 Comments

Eric Lautanen's profile picture
Eric Lautanen5 months ago

It will mostly be used to create bloated sites that lag. Similar to how three.js is currently used. Not everyone runs gaming rigs to view the web.

Robin's profile picture
Robin5 months ago

Most likely! As with the pretext demos recently, the genuine use cases are likely more abstract and varied (I think it’ll be very helpful for UIs in browser games - achieving the optimised CSS layout mixed with canvas effects) Also means it’s much easier to build out overly complex layouts without a whole load of bloat, rather than relying on workarounds and heavy canvas operations - so perhaps this does open the door for a web that’s still annoyingly noisy but with more routes to optimisation. Who knows, seems like there’s a lot of potential in it anyway

Fudmottin's profile picture
Fudmottin5 months ago

Screen scrappers will die.

supercollider's profile picture
supercollider5 months ago

this is true flash 2.0, if we can pull this off, and it can get approved finally, the web can be fun again?

Adam Z Lein's profile picture
Adam Z Lein5 months ago

Steve Jobs finally succeeded in getting rid of the #UX & usability nightmare that was Adobe Flash, and now we're bringing it back!

Nishu's profile picture
Nishu5 months ago

this is so cool, you should upload tutorials

Robin's profile picture
Robin5 months ago

@k1sekiya Thanks! I hopefully will soon. This stuff is really interesting under the surface.

Morgan Feeney's profile picture
Morgan Feeney5 months ago

Love these, this one looks super cool

Nick Daniel's profile picture
Nick Daniel5 months ago

oh i love this. you could add it to if you'd like :D

Carlito's profile picture
Carlito5 months ago

I agree it could be a new golden age of web

𝘿𝙖𝙫𝙞𝙙 ✦ 𝙈𝙂𝙏's profile picture
𝘿𝙖𝙫𝙞𝙙 ✦ 𝙈𝙂𝙏5 months ago

HTML-in-Canvas bridges the gap between web accessibility and creative freedom. The cloth form demo is wild. You get the physics and visual flexibility of canvas with the semantic structure of actual HTML elements. This could unlock a whole category of interactive experiences that felt impossible with pure DOM.

Chris B. Ward (e/bored) 🇬🇧🇮🇪🤐's profile picture
Chris B. Ward (e/bored) 🇬🇧🇮🇪🤐5 months ago

when you say accessible... do you mean the technology, or the implementation?

Gyo Piazza's profile picture
Gyo Piazza5 months ago

@mrdoob The comeback of the Flash era with accessibility baked in

Damien Golding's profile picture
Damien Golding5 months ago

What is SEO and fallback like?

Robin's profile picture
Robin5 months ago

That’s the beauty of it - all valid DOM elements inside the <canvas> element, so you essentially have a completely accessible form (even shows eg error states, browser feedback, respects tab order) but you can make it as stupidly elaborate as you like!

latentJake's profile picture
latentJake5 months ago

The next Stanley Parable game is going to be unhinged

mastodon.gamedev.place/@Steverock's profile picture
mastodon.gamedev.place/@Steverock5 months ago

"sensible" and then you show UI on cloth sim :D fucking punk rock my dude.

Related Videos