Lurker News
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 (<50MB), with no geometry, video or audio files.
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!

Comments (215) 85 threads

Earlier comments
nradov#
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.

nyrulez#
It's a cool idea but I wish there was an app that could help do dynamic breathing exercises based on current breathing patterns and help improve my breathing and lung capacity over time. If the hook is just fancy visuals, I'm afraid that's not enough for me to stick with it long term.
this_steve_j#
Great concept! A randomized controlled study (RCT) would be the next step in elevating this from a wellness app to a medical/behavioral intervention.

At least in the US, this could be a good candidate for an NIH or similar grant, and partnering with an academic researcher who has done it before would lessen the workload.
My former colleagues at the Center for Behavioral Health and Technology at UVA https://bht.Virginia.edu (for example) conduct research similar to this.

jdgiese#
Congratulations on putting together such a nicely designed app. I definitely noticed the quick download time when I installed it to check it out.

I run a medical device software development firm. I'm a software engineer who has moved into the medical-device regulatory affairs. I've helped several software teams learn to develop (and document) software for medical devices.
Even if you're not planning to make the jump from a wellness app to a medical device for a while, there are some things you can start documenting now that will make the transition a lot easier for you when you get there. E.g., starting to track formal requirements (https://innolitics.com/articles/2022-04-27-design-inputs/) and tracing them to verification protocols (e.g., automated or manual tests).
We have a bunch of Notion templates that we use with our clients that I could share with you to help you get started. Feel free to email me at jdgiese AT Innolitics.com

Load more comments