正在加载视频...

视频加载失败

HTML in Canvas API is NUTS

1,191,621 次观看 • 7 个月前 •via X (Twitter)

45 条评论

Wes Bos 的头像
Wes Bos7 个月前

A bit more explanation. Working on some more demos to show soon

Savannah 的头像
Savannah6 个月前

Yes

Wes Bos 的头像
Wes Bos6 个月前

Explain plz

Savannah 的头像
Savannah6 个月前

It's very long winded 😅

Bytenaija 🇳🇬🇨🇦 的头像
Bytenaija 🇳🇬🇨🇦6 个月前

@wesbos Does this use the html in canvas API? How is it relevant here?

Savannah 的头像
Savannah6 个月前

@wesbos Yep

Thomas Nattestad 的头像
Thomas Nattestad6 个月前

(Chrome's PM for the API here) If you have any feedback on the API don't hesitate to share it!

Wes Bos 的头像
Wes Bos6 个月前

@Paul_Kinlan Thanks, will do!

Peter Pistorius 的头像
Peter Pistorius7 个月前

the web is about to get weird again!

Kamalveer Singh 的头像
Kamalveer Singh6 个月前

I was just thinking about making a shooting game thing and this post popped up on my feed. This is amazing.

Hacksore 的头像
Hacksore7 个月前

Basically how Google Docs works 😂

Linus 的头像
Linus6 个月前

I did this a few weeks back

Youssef 🚜 的头像
Youssef 🚜7 个月前

didnt you find out about this like 2 days ago

Wes Bos 的头像
Wes Bos7 个月前

yep, been cranking on demos. A few more coming

Youssef 🚜 的头像
Youssef 🚜7 个月前

keep em coming mate!

Mathew Chan 的头像
Mathew Chan7 个月前

but can you center a div in there

Nick Taylor 的头像
Nick Taylor7 个月前

@1Marc You know you gotta do the Kool Aid man busting through a wall lol

techno yoda 的头像
techno yoda6 个月前

the most underrated feature of claude is that I can one-shot canvas visualizations to just to explain things to people. its surreal how well you can express yourself now if you know what you want to see.

François Best 的头像
François Best7 个月前

cc @orcdev 👀

Chrome for Developers 的头像
Chrome for Developers6 个月前

Now this demo is right on target. Love it.

Wes Bos 的头像
Wes Bos6 个月前

dad

Nick e/code 的头像
Nick e/code6 个月前

It’s almost like we are rebuilding Flash.

Michael? 的头像
Michael?7 个月前

Next level bad UX is here

Pritam 的头像
Pritam6 个月前

wait till people discover webgl

Wes Bos 的头像
Wes Bos6 个月前

This works with webgl!

Guillermo Avalos 的头像
Guillermo Avalos6 个月前

We’re getting Geocities-style sites back, but on cocaine, baby!

Martin Elitzer 的头像
Martin Elitzer7 个月前

wtf. dead nuts!

İlhan Neğiş 🛠️💾 的头像
İlhan Neğiş 🛠️💾7 个月前

ooOOo graphing/chart libraries!

Lucas Nascimento 的头像
Lucas Nascimento7 个月前

that's so cool 🤩

Tone 的头像
Tone7 个月前

Your tutorials were instrumental in giving me my start and I feel so bad I've forgotten to look back in! This is so dope!!

Chan 的头像
Chan6 个月前

This is one of those demos that rewires your idea of what belongs in a browser

Eugene Kirichuk 的头像
Eugene Kirichuk6 个月前

We are so back to Flash-like UIs

NéstorVC 的头像
NéstorVC6 个月前

Is this mobile friendly?

ScrambleYourJets 的头像
ScrambleYourJets6 个月前

Webgl doesn’t exist?

Wes Bos 的头像
Wes Bos6 个月前

Show me putting DOM into WebGL. Also - you can use this with WebGL

shane 的头像
shane6 个月前

Looking forward to seeing some more demos!

Loktar 🇺🇸 的头像
Loktar 🇺🇸7 个月前

SUCH a huge leap for canvas, I'm going to have to dust off some of my old demos tonight and implement some of this 😂

C4B4D4 💿 的头像
C4B4D4 💿7 个月前

What about CORS?

Franklin Williams 的头像
Franklin Williams6 个月前

The Canvas Inner HTML API is pretty useful for creating UI and UX Designs.

Michael Francis 的头像
Michael Francis7 个月前

This would be fantastic for game dev.

Damien Golding 的头像
Damien Golding6 个月前

Wait DOM nodes are in the canvas? I thought it was just about rendering HTML to canvas...

Anton 的头像
Anton7 个月前

Omg why 😄 this reminds me of Lineage 2 that uses HTML for menus

victor 的头像
victor6 个月前

how?? show me.

ouzz 的头像
ouzz6 个月前

I implemented the same logic and rendered the HTML to the canvas. The entire website is rendered using Canvas with no DOM elements

Bob 的头像
Bob6 个月前

The children yearn for Adobe Flash

相关视频