For the past few weeks, I’ve been promising you a WebGPU cloth simulation. Today I just wanted to make the official announcement that I just released the code on GitHub!
The code in this repo is all accompanied by a tutorial in this blog. I thank you for your patience because to make a post and code every week is not so simple to do.
Anyway, I just wanted to make the announcement and I hope you keep following me as we continue to finish this project.
Next steps
I would like to start working on collisions (self-collisions and collisions with external objects). Moreover, I would also like to explore the effects of damping.
We also need a better UI. I want to create a full scene with lots of objects that can collide with our cloth.