Show HN: Interactive exercises for stress and anxiety that respond to breathing (apps.apple.com)

31 points by lukko ↗ HN
Hey HN!

I’m an NHS doctor and the founder of Pia (https://www.piahealth.co) which developed Lungy (https://www.lungy.app). Lungy is an app (iOS only for now) that responds to breathing in real-time and was designed to make breathing exercises more engaging and beneficial to do. It’s been one year since Lungy launched (here’s the original ShowHN: https://news.ycombinator.com/item?id=34534615) - I was absolutely delighted with the response. One year on, we have re-designed and rebuilt the whole app, and added a real-time, 3D soft body solver which gives some really cool interactions like blobs / objects that inflate as you breathe.

My background is as a junior surgical trainee and I started building Lungy in 2020 during the first COVID lockdown in London. During COVID, there were huge numbers of patients coming off ventilators and patients are often given breathing exercises on a worksheet and disposable plastic devices called incentive spirometers to encourage deep breathing. This is intended to prevent chest infections and strengthen breathing muscles that have weakened. I noticed often the incentive spirometer would sit by the bedside, whilst the patient would be on their phone – this was the spark that lead to Lungy!

Since making the first version we’ve made exercises fully customisable (you can dial in exact timings for each breath phase), added new breathing indicators, learning modules, e.g. self-care for anxiety symptoms, and lots of new visuals. The UI is now much nicer and is AA-compliant. The free version gives you access to a new breathing exercise each day, whilst premium ($14.99 per year, $39.99 unlimited) unlocks the full library of exercises.

The visuals are mostly built using Metal (a couple use SpriteKit) and there are lots to choose from - boids, cloth sims, fluid sims, a hacky DLA implementation, rigid body + soft body sims - each one reacts to breath and touch. The audio uses AudioKit with a polyphonic synth and a sequencer plays generated notes from a chosen scale (you can mess around with the sequencer and synth in Settings/Create Music). The nice thing about the visuals + audio being generative is that the download size is very small (~ 50MB) with no other downloads. We’re still working on improving the breath detection, using ML - currently, it uses microphone input, with optional camera input to guide positioning.

We’re also close to finishing the medical device version - “Lungy Health” - designed as a pulmonary rehab platform for patients with asthma and COPD, it should hopefully be released in the UK early next year.

Thanks for reading - would love to hear any feedback!

Version 2.0 here: https://apps.apple.com/app/apple-store/id1545223887

3 comments

[ 4.8 ms ] story [ 21.5 ms ] thread
Looks beautiful. Its always exciting to push the boundaries of what an app can do. I wonder if my breathing makes any sound at all.

What is your experience with the medical device registration process so far? Is such medical innovation well recepted or does regulation seem to largely benefit established players?

Hey, thanks so much. Currently breathing doesn’t influence the sound, as it would also influence the detection of breathing which might set up a feedback loop if that makes sense. So we’d need to cancel out the generated audio - I’d really like to have that interaction though.

The medical device regulation process is long and quite difficult. I don’t think that’s necessarily a bad thing, but it is also an opaque process with expensive consultancies charging a lot for any guidance - this makes it very difficult for small companies without a lot of funding to even know where to start. I think just the prospect of having to go through registration does exclude quite a lot of innovative companies / products, which means patients are left with a limited selection of fairly mediocre products - the registration is very boring and difficult, but obviously necessary.

Do you think HRV (Heart Rate Variability) measurement is helpful. I use a Polar H10 and an app that connects to it to do breathing exercises aimed at increasing HRV, with the idea that higher HRV means you are relax, not in flight/fight.