Live data from Hacker News

Show HN: I'm a doctor and made a responsive breathing app for stress and anxiety

lungy.app

1–10 of 223 posts

Show HN: I'm a doctor and made a responsive breathing app for stress and anxiety

#1
Hey HN! Some more info: I’m an NHS doctor and the founder of Pi-A (https://www.pi-a.io) 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 hopefully has many aspects of interest to the HN community – real-time fluid, cloth and soft body sims running on the phone’s GPU.

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 they 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!

The visuals are mostly built using Metal, with one or two using SpriteKit. There are 20 to choose from, including boids, cloth sims, fluid sims, a hacky DLA implementation, rigid body + soft body sims. 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).

There are obviously lots of breathing and meditation apps out there, I wanted Lungy to be different - it's about tuning into your surroundings and noticing the world around you, so all the visuals are nature-inspired or have some reference to the physical world. I didn’t like other apps required large downloads and/or a wifi connection, so Lungy’s download size is very small (Lungy is initially a wellness app, but I’d like to develop a medical device version for patients with breathing problems such as asthma, chronic obstructive pulmonary disease (COPD) & long COVID. Thanks for reading - would love to hear feedback!

Show HN: I'm a doctor and made a responsive breathing app for stress and anxiety
lungy.app

Re: Show HN: I'm a doctor and made a responsive breathing app for stress and anxiety

#3

Looks extremely cool, but I wish this was a web app. I can't use it because I don't have an iOS device and I also think it would be useful on desktop, to take a break, as an alternative to checking HN, twitter ...

Thanks! Yep, I would love for it to also be a web app one day, I think definitely would be possible now with WebGPU. Will hopefully be able to release an Android version this year..

Re: Show HN: I'm a doctor and made a responsive breathing app for stress and anxiety

#8
Good idea but I don't have an Apple device to try it.

If you get some traction you might consider porting the app to run on smart watches. Current Garmin wearable devices are apparently able to detect individual breaths using the wrist optical heart rate sensor based on slight difference in heartbeat timing. They have a breathwork app built in but functionality is very limited.

Re: Show HN: I'm a doctor and made a responsive breathing app for stress and anxiety

#9
side note -- is it just me, or have Vimeo videos always been horrible as embeds? They take longer to load than YouTube, they take too long to fast-forward (click in the middle and wait 5 seconds before you see the video at that time location).

And on this embeded video I couldn't even change the volume!

It's frustrating me to the point that I just opted not to watch the video on this website :(

Re: Show HN: I'm a doctor and made a responsive breathing app for stress and anxiety

#10
Very nicely designed.

Is there a paper showing the accuracy of measuring breath volume and frequency using a phone microphone as compared to other known methods (i.e, medical sensors, but also more consumer-focused devices such as chest straps)? The frequency seems like an easy problem to solve, volume much less so.

Post reply on HN