r/javascript • • Jun 01 '26

Gravity.js - Browser native physics rendered entirely with CSS

https://github.com/iDev-Games/Gravity-JS
10 Upvotes

4 comments sorted by

View all comments

Show parent comment

1

u/iDev_Games Jun 08 '26

Added joints and constraints in v1.2.0. So you can make tearable cloth physics. I imagined from your comment that's what you wanted to achieve. You'll be able to see it as demo 5 in the docs https://idev-games.github.io/Gravity-JS/