This is awesome. I don't know what's more satisfying: actually tearing the cloth to pieces, or the fact that my 2009 13" macbook pro can run it smoothly without stressing the CPU.
Tearable Cloth Simulation in JavaScript
21–30 of 159 posts
Re: Tearable Cloth Simulation in JavaScript
#22Is there any connection between this and http://subprotocol.com/verlet-js/ which was posted on HN a few days ago, or did you both happen to play with the same algorithm at the same time?
I'm actually not the developer. I just happened across it, enjoyed it a lot, and was surprised to find that it wasn't posted on HN yet.
Re: Tearable Cloth Simulation in JavaScript
#23Earlier quoted context omitted.
I'm actually not the developer. I just happened across it, enjoyed it a lot, and was surprised to find that it wasn't posted on HN yet.
Ah but it was: https://news.ycombinator.com/item?id=5481441
Re: Tearable Cloth Simulation in JavaScript
#24Re: Tearable Cloth Simulation in JavaScript
#25Re: Tearable Cloth Simulation in JavaScript
#26Re: Tearable Cloth Simulation in JavaScript
#27Re: Tearable Cloth Simulation in JavaScript
#28Re: Tearable Cloth Simulation in JavaScript
#29Can anyone speak to what's going on in these algorithms? I'm interested in the physics/math behind them. For example, how much about partial differential equations do I need to know to understand them?
To tear the "cloth", all you need to do is to remove those particular constraints from the list.