I love the zero dependency implementation. I do this style of breathing during specific time periods of practicing Qi Gong. I will try your script when I get to my laptop. Thanks.

Thank you for noticing my effort. Do give it a try and please report your experience. I'm open to feedback.