Загрузка видео...

Не удалось загрузить видео

На главную

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

387,373 просмотров • 2 лет назад •via X (Twitter)

Комментарии: 10

Фото профиля Yuval Sagron 🦾
Yuval Sagron 🦾2 лет назад

I had a dream of you doing YouTube tutorials

Фото профиля jhey ▲🐻🎈
jhey ▲🐻🎈2 лет назад

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
trav2 лет назад

are you using a library?

Фото профиля jhey ▲🐻🎈
jhey ▲🐻🎈2 лет назад

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 Ubl2 лет назад

@v0 or did you rawdog it?

Фото профиля jhey ▲🐻🎈
jhey ▲🐻🎈2 лет назад

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

Фото профиля Riley Jones
Riley Jones2 лет назад

Now. A block for every tab in your browser.

Фото профиля Steren
Steren2 лет назад

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

Фото профиля emmett naughton
emmett naughton2 лет назад

SHOW ME HOW!

Фото профиля Elad Bezalel
Elad Bezalel2 лет назад

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

Похожие видео