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
uxamanda1 reply#
Neat app, I like meditating and this seems useful for feedback.

Ideas to consider
- I went through the tutorial and it taught me to breathe in through nose, out through mouth. When I was trying my first day, those tips weren’t there or available so it was hard to know if I was doing what you wanted
- the labels (breathe in, etc) fade to transparent before next one ends meaning there is a gap where it’s not clear what I should be doing. Would be nice to fade in incoming direction or push the old out
- not clear the relationship between bar and box. I think I’m the box, trying to match the pace of the bar, but that’s not totally clear. Would be nice to get some feedback of “too fast” or “slow down” when out of bounds
- I like the idea of the textured backgrounds but the one I got was high contrast and made me a little dizzy. Maybe more subtle colors? Also making sure the text is distinct. Also I wasn’t clear if I was effecting them. Shouldn’t they pause when I hold?
- when inside the exercise the button says “skip” but shouldn’t it be “end early”?

lukko#
Really good points - thank you. Will look at making the indicator more intuitive.
kwooding1 reply#
Exactly what I was looking for!

A quick suggestion, I’d love to see you add the “cyclic sighing” pattern from [1] as it’s recently gotten some amount of attention for it’s effectiveness, and is potentially less common than the others.
[1]: https://www.cell.com/cell-reports-medicine/fulltext/S2666-37...

lukko#
This would be great to include! I have been getting a few requests since the article was published...
epicEHRsucks3 replies#
First off, your website and app are aesthetically breathtaking. You have a real talent with design.

I have not used the breathing app, so ultimately there may be some context to which I am unware, however, my first thought when hearing the description of the App is why? Why do we as technologists insist on making things more complicated? Breathing is as old as life, and though I concede that there can be tremendous depth to the study of breathing, particular in relation to disciplines such as singing, meditation, anxiety, couldn't you more effectively teach someone a technique by simply informing them rather than making an app to accomplish that same goal?
I apologize if in any way this feels as if I am criticizing your creative work. I am a software engineer and medical student and I appreciate when the two fields collide. I also never want to put any creative work down because I understand the effort and risk one takes when doing anything of the sort.

escape_goat#
Nice but I believe that parody goes against the spirit of the comments section.
refulgentis#
Because its a scalable way of teaching adults breathing exercises.

I am much more likely to engage with beautiful app than remember "that guy pointed out breathing is simple i should do it more"

lukko#
I think here the tech is justified - it adds a few added incentives to do the exercises (visuals responding, progress tracking, showing lung function if possible) and can guide people through in a much more scaleable way than in-person / or remote sessions. From literature, it seems breathing exercises do have real benefits, the problem is with compliance - completing them consistently and effectively enough. Lungy tries to make the process more enjoyable and fun (rather than following a worksheet or just breathing into a plastic box). But yep, I think in healthcare, the simplest possible approach with minimal, but not necessarily zero, tech is the way to go. Haha, nice username btw!
awfml1 reply#
Designer here— This whole experience is really killer. Fantastic work, truly.

I was not sure what to expect when it requested microphone access, but the way you've done it is really clever.
The interactive tutorial is really cool as well. The visuals, also, are different and fun.
Never seen anything quite like this. Really great work. I'm going to share this with some friends.

lukko1 reply#
Amazing, thanks so much for the feedback!
mikekij1 reply#
Hey, the design of your homepage is awesome. Who did the animations / visuals?
lukko#
thanks! I did - the animations are using AE and Lottie, the CG is Houdini + Redshift, and the rest of the visuals are captured from the app.

Load more comments