{"by":"lukko","descendants":80,"id":40539800,"kids":[40550573,40549102,40550046,40549608,40548989,40548548,40550085,40548896,40550055,40549218,40548893,40549365,40549998,40553045,40549277,40539845,40554722],"score":99,"text":"A bit more context - the cloth sim is part of my app, Lungy (<a href=\"https:&#x2F;&#x2F;www.lungy.app\" rel=\"nofollow\">https:&#x2F;&#x2F;www.lungy.app</a>). It&#x27;s designed to be an active meditation &#x2F; relaxation app, so you can play relaxing instruments in space and immersive breathing exercises. The original Lungy is a breathing app available for iOS, that uses real-time breathing with interactive visuals.<p>The cloth sim is a Verlet integration, running on a regular grid. For now, I have tried a couple of different cloth scenes - a sort of touch reactive &#x27;pad&#x27;, where different parts of the cloth are mapped to different sounds and a cloth that blows in sync with breathing. The collision detection is a little bit tricky with the deforming mesh, but seems to work ok overall. Overall, it seems like a cool interaction to explore.<p>The cloth sim is live on the app store now (and free) - would love to hear feedback from anyone with a Vision Pro.<p>App Store (Vision Pro): <a href=\"https:&#x2F;&#x2F;apps.apple.com&#x2F;app&#x2F;id6470201263\" rel=\"nofollow\">https:&#x2F;&#x2F;apps.apple.com&#x2F;app&#x2F;id6470201263</a><p>Lungy, original for iOS - <a href=\"https:&#x2F;&#x2F;apps.apple.com&#x2F;app&#x2F;id1545223887\" rel=\"nofollow\">https:&#x2F;&#x2F;apps.apple.com&#x2F;app&#x2F;id1545223887</a>","time":1717186983,"title":"Show HN: I built an interactive cloth solver for Apple Vision Pro","type":"story","url":"https://www.youtube.com/watch?v=kpD2J85WjzM"}