WebGPU Cloth Simulation is in GitHub

I just released the cloth simulation code and I feel the need to tell the world.

Keywords: position based dynamics, cloth simulation, lagrange, physics, computer graphics, tutorial, webgpu

By Carmen Cincotti  

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!

You can view the code here

WebGPU Cloth simulation example

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.


Comments for WebGPU Cloth Simulation is in GitHub



Written by Carmen Cincotti, computer graphics enthusiast, language learner, and improv actor currently living in San Francisco, CA.  Follow @CarmenCincotti

Contribute

Interested in contributing to Carmen's Graphics Blog? Click here for details!