正在加载视频...

视频加载失败

messin' with physics 👨‍🍳 text in the DOM, blocks on <canvas> ✨

383,348 次观看 • 1 年前 •via X (Twitter)

10 条评论

Yuval Sagron 🦾 的头像
Yuval Sagron 🦾1 年前

I had a dream of you doing YouTube tutorials

jhey ▲🐻🎈 的头像
jhey ▲🐻🎈1 年前

Gonna bring them back. Jus' gotta get back into the swing of things 🙏 Goal is to refocus and shift my content patterns. Site, YouTube, course.

trav 的头像
trav1 年前

are you using a library?

jhey ▲🐻🎈 的头像
jhey ▲🐻🎈1 年前

Use the matter engine to handle collisions. Then draw the color blocks to canvas in a render loop reading the engine values 🤙 There are a few little tricks which I had to work out but it's almost there 🤏 Originally did this for the end of my Config deck with falling elems

Malte Ubl 的头像
Malte Ubl1 年前

@v0 or did you rawdog it?

jhey ▲🐻🎈 的头像
jhey ▲🐻🎈1 年前

@v0 Rawdogged 😅 Been messing with v0 to see how it handles creating webcam filters and 3D games 🧐

Riley Jones 的头像
Riley Jones1 年前

Now. A block for every tab in your browser.

Steren 的头像
Steren1 年前

It reminds me my experiment of ray tracing DOM elements: How are you extract the text bounding boxes?

emmett naughton 的头像
emmett naughton1 年前

SHOW ME HOW!

Elad Bezalel 的头像
Elad Bezalel1 年前

Did something similar recently, i call it DOM aware physics, as you can give it almost any dom element and make your 2d environment aware of it's contents

相关视频