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
amelius#
Reminded me of a startup that makes "hugging-pillows" that expand/contract to regulate breathing during sleep as in synchronous breathing with a partner.

EDIT: found it: https://somnox.com/
They are quite expensive.
(Not affiliated)

spoork#
While this seems to be a good idea judging by the lots of positive comments here, I personally don't get the appeal of using an app to do breathing exercises or meditate. It is such a simple thing to focus on yourself with eyes shut, do some counting in your head without any need for an external device that tells me what to do. For me, the beauty in such exercises is that I can do them anywhere, without any equipment. Having yet another app for this just doesn't feel right, even though it might be somewhat useful to learn new techniques.
andjelam9902 replies#
WOW! This is really ground-breaking. Will the android version be supported as well?
lukko1 reply#
Thank you! Working on it, hopefully at some point this year..
ArtWomb1 reply#
Filament & Oboe should match iOS performance in both realms: real time physically based sprite render, and polyphonic synth. Good Stuff, ideal for ai gurus teaching "pranayama sciences" ;)

Brief structured respiration practices enhance mood and reduce physiological arousal
https://www.cell.com/cell-reports-medicine/fulltext/S2666-37...

lukko#
oh amazing, I was looking for equivalent frameworks - thank you!
malermeister1 reply#
Seconding the request for an android app!
ivanivanka#
third in line!
Kukumber2 replies#
"free with in-app purchases"

What a boring future, "pay $9.99 to unlock this secret tip to survive in case you have trouble breathing!"
health is not a thing that should available with a pay-wall, we must advocate for a better world

segh#
OP was under no obligation to build it in the first place. Arguably the alternative to a $10 app is no app at all.
qainsights#
For me, it is showing $22.

Load more comments