Unofficial Hacker News client - receive Push Notifications on replies.

Cloth Simulation with XBPD (opens external site)

57 points by ricardobeat 2 days ago | ricar.do | 19 comments on HN | Vote on HN (opens Hacker News)

View full thread · View on Hacker News

Comment thread (3)

  1. If you don't have WebGPU enabled, https://claude.ai/artifact/YV3wTiemkwoKcBthirFp33 has a cloth simulator that works without it
    Replies (1)
    1. 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.

      Replies (1)
      1. Runs great on iphone, thanks for sharing!