Israel
Israel
WBWeb Bae
Created by Israel on 11/22/2023 in #❓︱questions
Matter.js Constraints
Whoops busy past couple days. Anyway, managed to get the effect I was looking for if curious: https://israelblennerhassett.com/constraint.html Matter.js is a rabbit hole
4 replies
WBWeb Bae
Created by Israel on 11/22/2023 in #❓︱questions
Matter.js Constraints
I've made some progress on it, I'll update here when I come to an impasse, or if I manage to figure it out
4 replies
WBWeb Bae
Created by Israel on 10/28/2023 in #❓︱questions
Responsive SVG bodies of different widths (Matter.js)
Nevermind, I figured it out! The solution was as simple as adding let scaleFactor = matterContainer.clientHeight * 0.3 / 260; Body.scale(thispath, scaleFactor, scaleFactor); right before adding the bodies into the world. You can also do this right inside of the body after Vertices.scale, but in my experience this caused some artifacts that the exterior scale didn't
2 replies
WBWeb Bae
Created by Israel on 10/20/2023 in #❓︱questions
Hollow Matter.js SVG
No description
6 replies
WBWeb Bae
Created by Israel on 10/20/2023 in #❓︱questions
Hollow Matter.js SVG
for interests sake, I was able to solve this by simply adding a small slit into any enclosed hole then covering it up with a stroke
6 replies
WBWeb Bae
Created by Israel on 10/12/2023 in #❓︱questions
Matter.js matter-wrap plugin
yes awesome, got it working, thanks soooo much 😁 😁
4 replies