Hey there,
i would like to have a picture on my watch screen with the size
width and height 30 Units
increasing in 3s to 80 Units
decreasing in 7s to 30 Units
increasing in 3s to 80 Units
…
I want to use it as some kind of breath assistance, so it’s 3 seconds breath in, 7 seconds breath out.
I found ((sin(#DWE#*0.8)*30)+60)
That get’s me roughly the desired sizes in an ~10 second circle, but it’s 5 seconds increase, 5 seconds decrease.
Can someone please hlp me with the correct formula for a 30/70 cycle?
Also I’d like to know if there is a possibility to have “pulsating” on in Dim-mode?
This is one of my favourites give here on the community .
Have a play with it .
Obviously you have to try it in The Width Height and Opacity Tags to see what it does .
(50+((sin(rad((#DWFSS#)*120)))*50))
50 50 is the range in this case it gives 0-100 in half a second . so 25 25 will give you 0 to 50 .Play with the 120 number . 120 is fast 60 is a second 30 is two seconds etc .
Let us know how you get on .
Hey Russel,
thanks a lot for your help.
I don’t yet see how to reach a non mirrored curve, but as it didn’t yet occur to me to use it for opacity, I layered 2 identical objects and played with amplitude and time shift.
(30+((sin(rad((#DWFSS#+8)*7)))*25))
(20+((sin(rad((#DWFSS#)*7)))*25))
Think for my requirements that will do. =)
Thanks a very lot!
Hey listen @schoggi . Sorry I offered a rather simplistic answer . The problem is quite complex . I have made you a test that fills the bill but it is a Liner solution and split into two . I like to help if I can but I am not a Maths Master . You might find something of use in there . I think the Lungs are a little macabre . I offer you a nice glow perhaps that will represent the breathing better . I would flip the colour on the change over . Simple enough if you have separate layers .
.
.
.
To use the sine or cosine function, you would have to start at the middle size so it can give positive and negative results which then either add or substract to the middle size.
And you would also need to split the formula in two stages, faster and slower. Maybe like this: $#DWE#%10<3?55+25*cos(((#DWE#%10)/3-1)*3.14):55+25*cos(((#DWE#%10-3)/7)*3.14)$
Master Class. I like your short form pi. Good habit since some platforms don’t have it as a constant. Thank yo very much for giving us a good reason to bookmark this.
@petruuccios . I know you have nothing to do over the Festive season and it is more of a question really . I have a breathing exercise where the times are 3 in 6 hold and 12 out . Some use a Box Breathing Technique say 3 in , 3 hold , 3out , 3 hold . It would be wonderful if we had access to the buzzer in the watches . I know Facer has three or four Lap timers that could be used for settings . Any way I am not asking you to do this work but just ask you how you would split it up . All the best for the Season again and thanks for ther Gifts you Keep Giving .
Lotus flower is brilliant Idea. Plesse credit Peter @petruuccios . It was his Formula. The man is a genius. He does not make many Faces . Don’t miss one.