Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

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

383,306 görüntüleme • 1 yıl önce •via X (Twitter)

10 Yorum

Yuval Sagron 🦾 profil fotoğrafı
Yuval Sagron 🦾1 yıl önce

I had a dream of you doing YouTube tutorials

jhey ▲🐻🎈 profil fotoğrafı
jhey ▲🐻🎈1 yıl önce

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 profil fotoğrafı
trav1 yıl önce

are you using a library?

jhey ▲🐻🎈 profil fotoğrafı
jhey ▲🐻🎈1 yıl önce

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 profil fotoğrafı
Malte Ubl1 yıl önce

@v0 or did you rawdog it?

jhey ▲🐻🎈 profil fotoğrafı
jhey ▲🐻🎈1 yıl önce

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

Riley Jones profil fotoğrafı
Riley Jones1 yıl önce

Now. A block for every tab in your browser.

Steren profil fotoğrafı
Steren1 yıl önce

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

emmett naughton profil fotoğrafı
emmett naughton1 yıl önce

SHOW ME HOW!

Elad Bezalel profil fotoğrafı
Elad Bezalel1 yıl önce

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

Benzer Videolar