正在加载视频...

视频加载失败

Google has solved a 20-year-old web problem.. It's called html-in-canvas, a new experimental Chrome feature that renders live HTML directly as a 3D texture. here's what it does: → draws any DOM element (dashboards, forms, entire app UIs) straight into a canvas → full CSS still works, flexbox, grid,...

237,936 次观看 • 3 个月前 •via X (Twitter)

30 条评论

Paul Bohme 的头像
Paul Bohme3 个月前

~15 years ago the Linux desktop went through this kind of phase with compositors. You could do wild useless things, and it was fun.

Zachary Indy 的头像
Zachary Indy3 个月前

hell no

Rakesh Purohit 的头像
Rakesh Purohit3 个月前

Just like how I did it with ‘rocket. new’

Daniel Brown 的头像
Daniel Brown3 个月前

You can already render html in an svg and then draw to canvas, works in all popular browsers. Not fast though.

Gregor 的头像
Gregor3 个月前

experimental Chrome flag is a ways from 'solved' imo. html2canvas has existed for years, the real wall was always safari and firefox not following. is there anything in the proposal that moves them toward this?

Jefferson Sa 的头像
Jefferson Sa3 个月前

I like the way they arranged the words trying to make it appear a real problem solved. Nobody’s asked for that shit.

Jeffrey Onuigbo 的头像
Jeffrey Onuigbo3 个月前

This is the one I have been waiting for. Rendering DOM into a texture means you stop rebuilding your whole UI in WebGL just to put a panel inside a 3D scene. What does the input story look like, does the DOM stay interactive in there?

Kimmmmmm 的头像
Kimmmmmm3 个月前

Verdict: very cool demo, but "solved" is marketing. ran its 3 demos myself: a live html form + a 3d-textured cube rendered right into the canvas. catch: flip the flag off and the feature just vanishes. can't ship to real users yet. great for prototypes. follow for more!

LienPixels🌌 的头像
LienPixels🌌3 个月前

Only a vibe coder would say "solved" in such a topic.

Daniel Ramos 的头像
Daniel Ramos3 个月前

Este es mi intento, la malla es la que más me gusta :

𝐌𝐫. 𝐖𝐢𝐜𝐤 🇺🇸 🦍 的头像
𝐌𝐫. 𝐖𝐢𝐜𝐤 🇺🇸 🦍3 个月前

This was trending 3 months ago.

steve 的头像
steve3 个月前

A problem for whom exactly? I've been in web dev for almost 30 years, and never wanted this. And when I have had clients, none of them have ever asked for it.

Paul Goh 的头像
Paul Goh3 个月前

Could this be applied to our curtains?

AI Mastery Guide 的头像
AI Mastery Guide3 个月前

Turning live UI into simulated fabric is such a weird and cool use case

SD House Mafia 的头像
SD House Mafia3 个月前

Nobody cares

Gimini Gregorette 的头像
Gimini Gregorette3 个月前

why would google want this... like i want this but wtf is google doing with this?

AI~rtesan 的头像
AI~rtesan3 个月前

👁️

Odisseo 🇮🇹 的头像
Odisseo 🇮🇹3 个月前

I fail to see the use of this.

Rimsha Bhardwaj 的头像
Rimsha Bhardwaj3 个月前

This could finally make interactive 3D interfaces feel native to the web.

RF北灰 的头像
RF北灰3 个月前

This looks like very cool, i want to know that Is it a DOM or Canvas rendered?

Coddy 的头像
Coddy3 个月前

This is wild! The internet could look so different soon

Max L. 的头像
Max L.3 个月前

In principle, this solution would be excellent for a specific range of tasks, especially for interactive virtual tours, though it's certainly a niche use case.

Sebastian Buzdugan 的头像
Sebastian Buzdugan3 个月前

the hard part is input focus and accessibility once html becomes a canvas texture

v01d 🔺⚡ 的头像
v01d 🔺⚡3 个月前

Comes with vulnerabilities

The Upside 的头像
The Upside3 个月前

This was highlighted in @IvoAI3’s newsletter this morning. Good insights.

ArthurOS 的头像
ArthurOS3 个月前

Just came across this in @TheUpsideAI, really cool to see.

yomments 的头像
yomments3 个月前

really cool and smooth!

David Washington 的头像
David Washington3 个月前

Instead of treating HTML as a flat plane to bake into a 3D texture, architectures like A-Frame let us use semantic DOM hierarchies as a direct blueprint for native 3D objects. html-in-canvas solves the wild web, but breaking out of the 2D plane gives us a new vocabulary.

Swarup Das 的头像
Swarup Das3 个月前

This is a massive leap for WebXR and 3D web apps. Historically, overlaying complex 2D UI on WebGL meant painful hacks or heavy performance trade-offs. Native rendering will completely change how we design immersive interfaces.

Peter MOUEZA🇲🇫 的头像
Peter MOUEZA🇲🇫3 个月前

Note100 : 99.5 text web browser

相关视频