I have Circle that I would like to go from a Radius of 15 to a Radius of 160
Idealy I would like this only to happen/trigger on Wake.
I have tried the following as a start
But cant seem to adjust the figures to get the Radii that I require.
I don’t really understand the condition under which this has to happen. When should there be a radius of 15? And when should there be a radius of 160?
Maybe somehow? Increases when loaded or after DIM mode.
This achieves what I want
But I cant get the interpAccel to work
So you want the radius to change not once, but all the time? It’s pulsating.
No I would like it to do it once on Wake but I cant get the interpAccel to work e.g. ( interpAccel((sin(
It doesn’t work like that.
Is my post about pulsating any use to you?
I wanted the heart sticker to fade in and out with #ZHR# so worked on the following expression for opacity, which starts at 0 on screen wakeup, rises to 100, and back to 0 in 1 heartbeat.
Changing the function changes the start value.
((cos((#ZHR#/30)*#DWE#*pi)+1)*50) = 100>0>100 in 1 heartbeat
((sin((#ZHR#/30)*#DWE#*pi)+1)*50) = 50>100>0>50 in 1 heartbeat
((-sin((#ZHR#/30)*#DWE#*pi)+1)*50) = 50>0>100>50 in 1 heartbeat
I decided it would be…
You could just replace the ZHR (heartrate) with a fixed number
Or the breathing size on this page? Edit the face and play with the ‘Orbit’ object
I’ve done some testing and come up with this:
Change the z to the length of time you need (try 2 to start)
and if you work out how long you want it to run, you can use a conditional to set it to 160 when it would get there. IE if z = 2 then radius = 160 when DWE = pi (~ 3 seconds awake)
or twice as fast:
If you want it to start slowly and speed up, we can use TAN
Slow it down by increasing the 1 in
#DWE#/1 but to do that, the first conditional should be 1.5 * that number
This formula is in a radius, does the same thing. Now I wonder what other task if the formula does the job?
Question to add hope its understandable… Is there any way to make the heartbeat work like Progress on Steps or Battery Level.So the Circle fills up and goes down with the heartbeat ???
Yeah this is possible using
(abs(sin((#ZHR#/60)*#DWE#*pi))) as progress value: