Show HN: I'm a doctor and made a responsive breathing app for stress and anxiety (opens in a new tab)lungy.app
666 pointsMy 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
Show all comments
Showing thread 23 of 85
One thing I was wondering is why the exhale is instructed to be out of the mouth. Does it have to do with needing the airflow to travel past the mic, or is there a medical reason for it? I have a long standing daily Buddhist meditation practice and also have a somewhat intensive yoga practice, and all the pranayama instructions I’ve ever gotten from teachers has been full on nasal breathing. I find it pretty uncomfortable and unnatural to use a mouth exhalation. Also my teachers have always taught me to make the exhale as silent as possible. The only time I’ve been instructed to use a mouth breath is in shitali pranayama, but that’s an inhale, and with lion’s breath.
Anyway, again, it looks great — congrats!
Exactly, so the inhalation is in through the nose and out through the mouth for the app partly to detect the exhalation, but also generally peak flow (which is a bit like lion's breath) and lung function measurements are measured by breathing through the mouth. It would also be great to have nasal breathing detected at some point..