正在加载视频...

视频加载失败

Got HTML rendering in canvas working AS IS on all browsers, including iOS Safari - html-in-canvas polyfill - interactions - hover, focus, active, typing etc - css animations - scrolling - caret and text selection - #threejs, #webgl, #webgpu support - dark/light mode Link below

32,006 次观看 • 7 个月前 •via X (Twitter)

18 条评论

Palash Bansal 的头像
Palash Bansal7 个月前

Polyfill and three.js(>r160) integration - Demo -

Nathaniel 的头像
Nathaniel7 个月前

webxr?

Palash Bansal 的头像
Palash Bansal7 个月前

It renders to a canvas so rendering would work that can be used in webxr. For interaction some ui, some raycast might have to be done.

David Lin-Clark 的头像
David Lin-Clark7 个月前

freakin sweet!

Corey Hackworth 的头像
Corey Hackworth7 个月前

this is so cool. the ability to easily do real work with text (and I would imagine, CSS) inside the canvas this way has incredible potential.

Hunter Gemmer 的头像
Hunter Gemmer7 个月前

Whhhhhhaaat?! Bro, you win. Not sure what (obviously all the cred), but you win. If this is as advertised, that is so incredibly impressive and a fucking gigantic win for the dev community at large. You're a man of the people 🫡

Adam Bradley ⚡️ 的头像
Adam Bradley ⚡️7 个月前

This is pretty mind blowing! Crazy clever

Robin 的头像
Robin7 个月前

I’ll be trying this out tomorrow!

cephxs 的头像
cephxs7 个月前

i just want to see the website bro

Palash Bansal 的头像
Palash Bansal7 个月前

Which one bro?

Yuri 的头像
Yuri7 个月前

What about performance?

Palash Bansal 的头像
Palash Bansal7 个月前

Depends on the complexity, you can try out the link on your device, it's not bad.

Yuri 的头像
Yuri7 个月前

I would say not bad, ofc not native as this is html -> svg -> texture, but impressive man!

Tuan Anh Bui 的头像
Tuan Anh Bui7 个月前

Isn‘t HTML in Canvas the perfect technology to phish people? 😬

Palash Bansal 的头像
Palash Bansal7 个月前

How would that work?

Tuan Anh Bui 的头像
Tuan Anh Bui7 个月前

Hm, good question. Thinking more thoroughly, maybe it actually doesn't introduce new attack vectors that already exist.

Hussein Alalivi 的头像
Hussein Alalivi7 个月前

Impressive work

S-Space Studio 的头像
S-Space Studio7 个月前

How do I interact in R3F?

相关视频