News for hackers. Stuff that matters.
Re:Cloth by rikroots on Saturday April 26, 2025 @03:00AM (#43801498)
I've always loved this sort of cloth animation. I think the first one I saw was dissimulate's tearable cloth demo on Codepen - I can't believe they wrote that code 9 years ago!

[1] - https://codepen.io/dissimulate/pen/eZxEBO

[2] - https://github.com/Dissimulate/Tearable-Cloth

Re:Cloth by wingerlang on Saturday April 26, 2025 @03:56AM (#43801734)
Here's mine from 14 years ago https://www.youtube.com/watch?v=G05M_Y6NQVM

It's very simple to implement a basic setup like this, and I agree that the results are super cool.

Re:Cloth by ribcage on Saturday April 26, 2025 @04:50AM (#43801962)
Video game Hitman from 2000 had cloth. Mirror's Edge from 2008 had tearable cloth. And I am pretty sure they weren't the first.
Re:Cloth by diss on Sunday April 27, 2025 @02:21AM (#43809829)
That was me! The original version I put on codepen was about 13 years ago. I can’t believe it either… until I realise that was before I landed my first programming job, and it feels like ages.