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

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

На главную

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

383,306 просмотров • 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

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