Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

HTML in Canvas API is NUTS

1,190,810 Aufrufe • vor 5 Monaten •via X (Twitter)

45 Kommentare

Profilbild von Wes Bos
Wes Bosvor 5 Monaten

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

Profilbild von Savannah
Savannahvor 5 Monaten

Yes

Profilbild von Wes Bos
Wes Bosvor 5 Monaten

Explain plz

Profilbild von Savannah
Savannahvor 5 Monaten

It's very long winded 😅

Profilbild von Bytenaija 🇳🇬🇨🇦
Bytenaija 🇳🇬🇨🇦vor 5 Monaten

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

Profilbild von Savannah
Savannahvor 5 Monaten

@wesbos Yep

Profilbild von Thomas Nattestad
Thomas Nattestadvor 5 Monaten

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

Profilbild von Wes Bos
Wes Bosvor 5 Monaten

@Paul_Kinlan Thanks, will do!

Profilbild von Peter Pistorius
Peter Pistoriusvor 5 Monaten

the web is about to get weird again!

Profilbild von Kamalveer Singh
Kamalveer Singhvor 5 Monaten

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

Profilbild von Hacksore
Hacksorevor 5 Monaten

Basically how Google Docs works 😂

Profilbild von Linus
Linusvor 5 Monaten

I did this a few weeks back

Profilbild von Youssef 🚜
Youssef 🚜vor 5 Monaten

didnt you find out about this like 2 days ago

Profilbild von Wes Bos
Wes Bosvor 5 Monaten

yep, been cranking on demos. A few more coming

Profilbild von Youssef 🚜
Youssef 🚜vor 5 Monaten

keep em coming mate!

Profilbild von Mathew Chan
Mathew Chanvor 5 Monaten

but can you center a div in there

Profilbild von Nick Taylor
Nick Taylorvor 5 Monaten

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

Profilbild von techno yoda
techno yodavor 5 Monaten

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.

Profilbild von François Best
François Bestvor 5 Monaten

cc @orcdev 👀

Profilbild von Chrome for Developers
Chrome for Developersvor 4 Monaten

Now this demo is right on target. Love it.

Profilbild von Wes Bos
Wes Bosvor 4 Monaten

dad

Profilbild von Nick e/code
Nick e/codevor 5 Monaten

It’s almost like we are rebuilding Flash.

Profilbild von Michael?
Michael?vor 5 Monaten

Next level bad UX is here

Profilbild von Pritam
Pritamvor 5 Monaten

wait till people discover webgl

Profilbild von Wes Bos
Wes Bosvor 5 Monaten

This works with webgl!

Profilbild von Guillermo Avalos
Guillermo Avalosvor 5 Monaten

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

Profilbild von Martin Elitzer
Martin Elitzervor 5 Monaten

wtf. dead nuts!

Profilbild von İlhan Neğiş 🛠️💾
İlhan Neğiş 🛠️💾vor 5 Monaten

ooOOo graphing/chart libraries!

Profilbild von Lucas Nascimento
Lucas Nascimentovor 5 Monaten

that's so cool 🤩

Profilbild von Tone
Tonevor 5 Monaten

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!!

Profilbild von Chan
Chanvor 5 Monaten

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

Profilbild von Eugene Kirichuk
Eugene Kirichukvor 5 Monaten

We are so back to Flash-like UIs

Profilbild von NéstorVC
NéstorVCvor 5 Monaten

Is this mobile friendly?

Profilbild von ScrambleYourJets
ScrambleYourJetsvor 5 Monaten

Webgl doesn’t exist?

Profilbild von Wes Bos
Wes Bosvor 5 Monaten

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

Profilbild von shane
shanevor 5 Monaten

Looking forward to seeing some more demos!

Profilbild von Loktar 🇺🇸
Loktar 🇺🇸vor 5 Monaten

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 😂

Profilbild von C4B4D4 💿
C4B4D4 💿vor 5 Monaten

What about CORS?

Profilbild von Franklin Williams
Franklin Williamsvor 4 Monaten

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

Profilbild von Michael Francis
Michael Francisvor 5 Monaten

This would be fantastic for game dev.

Profilbild von Damien Golding
Damien Goldingvor 5 Monaten

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

Profilbild von Anton
Antonvor 5 Monaten

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

Profilbild von victor
victorvor 5 Monaten

how?? show me.

Profilbild von ouzz
ouzzvor 5 Monaten

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

Profilbild von Bob
Bobvor 5 Monaten

The children yearn for Adobe Flash

Ähnliche Videos