Live data from Hacker News

Cloth Simulation

cloth.mikail-khan.com

21–30 of 42 posts

Re: Cloth Simulation

#22
This is great! The only part that broke the immersion (for me) was that the cloth bits fell at a constant rate - I'd expect them to accelerate due to gravity, and maybe flutter as they fell.

Nice art!

Re: Cloth Simulation

#25
post #11

The tearing was unexpectedly disturbing! Suggestion: use an accelerometer data on mobile and use that to directly replace gravity. I expect to be able to tip the phone to drape the cloth, and shake the phone to get waves of motion.

I think the little tears were fine, but my expectation of the weight of the cloth wasn't so much that it would start to rip on its own after a certain point. It felt more like a wet dough at a certain point than cloth.

Re: Cloth Simulation

#26

For me, "Large Steps in Cloth Simulation" [0] made implicit methods accessible... Seminal paper. [0] https://dl.acm.org/doi/10.1145/280814.280821

For inextensible cloth there's also "Efficient simulation of inextensible cloth" [0] that is particularly clever and efficient

[0] https://dl.acm.org/doi/10.1145/1276377.1276438

Re: Cloth Simulation

#27
post #13
post #11

The tearing was unexpectedly disturbing! Suggestion: use an accelerometer data on mobile and use that to directly replace gravity. I expect to be able to tip the phone to drape the cloth, and shake the phone to get waves of motion.

This. I can tear real cloth if I try, but I need to try. A flick of the finger has never once in my life torn cloth.

It feels a bit like shooting at cloth.

Re: Cloth Simulation

#28
I was curious and was able to build something very similar quickly using Gemini 3 via Google AI Studio. Never would have imagined a few years ago how easy some of this has become to prototype.

Re: Cloth Simulation

#29

I was curious and was able to build something very similar quickly using Gemini 3 via Google AI Studio. Never would have imagined a few years ago how easy some of this has become to prototype.

There's a lot of simple cloth sim examples on the internet, so I see why LLMs can code these kinds of demos easily.

Re: Cloth Simulation

#30

I was curious and was able to build something very similar quickly using Gemini 3 via Google AI Studio. Never would have imagined a few years ago how easy some of this has become to prototype.

There's a lot of simple cloth sim examples on the internet, so I see why LLMs can code these kinds of demos easily.

yeah makes sense. Im sitting here evolving my little prototype its too much fun.
Post reply on HN