Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

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

383,166 Aufrufe • vor 1 Jahr •via X (Twitter)

10 Kommentare

Profilbild von Yuval Sagron 🦾
Yuval Sagron 🦾vor 1 Jahr

I had a dream of you doing YouTube tutorials

Profilbild von jhey ▲🐻🎈
jhey ▲🐻🎈vor 1 Jahr

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.

Profilbild von trav
travvor 1 Jahr

are you using a library?

Profilbild von jhey ▲🐻🎈
jhey ▲🐻🎈vor 1 Jahr

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

Profilbild von Malte Ubl
Malte Ublvor 1 Jahr

@v0 or did you rawdog it?

Profilbild von jhey ▲🐻🎈
jhey ▲🐻🎈vor 1 Jahr

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

Profilbild von Riley Jones
Riley Jonesvor 1 Jahr

Now. A block for every tab in your browser.

Profilbild von Steren
Sterenvor 1 Jahr

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

Profilbild von emmett naughton
emmett naughtonvor 1 Jahr

SHOW ME HOW!

Profilbild von Elad Bezalel
Elad Bezalelvor 1 Jahr

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

Ähnliche Videos