I wanted to try and make a small app to help with breathing exercises. I haven't done anything with animation/ui yet, so I was wondering if anyone could help me with a starting point. I want the animation to do the following:
- Have a circle expand for x seconds
- Pauze for y seconds
- Have the circle contract in z seconds
- Pauze for a seconds
- Repeat for b minutes
Ultimately it would be nice to have all the settings and duration configurable in the ui, but changing the values directly in the script is no problem.
I thought the analog clock example would be a good starting point, but when I understood that one and tried to figure out how to use that approach for this use case, I got the feeling that the updating step would become more complex than necessary.
What would be a good starting point for this?