Hacker News new | ask | show | jobs
by enjoyyourlife 4 days ago
If you don't have WebGPU enabled, https://claude.ai/artifact/YV3wTiemkwoKcBthirFp33 has a cloth simulator that works without it
1 comments

The stack I'm using is targeting WebGPU only unfortunately, as the engine is built for native, web is just one of the outputs.

The model is quite different though - XPBD is physically based and independent of frame rate (great for VRR), you get control over stretchiness and bends, and adding steps only improves accuracy without changing behaviour. It also lets you deal with constraints more naturally, that's what enables the self-collision for example.

Runs great on iphone, thanks for sharing!