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
((sin(#DWE #*2)*20)+100)
But cant seem to adjust the figures to get the Radii that I require.
Any ideas?
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.
(15+(interpAccel(#DWE#,0.5,1,0.20)*80))
This achieves what I want
((sin(#Dsm #*2.35)*95)+100))
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(#Dsm #*2.35)*95)+100))
It doesn’t work like that.
Is my post about pulsating any use to you?
Hi all,
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.
((-cos((#ZHR#/30)*#DWE#*pi)+1)*50)
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
1 Like
I’ve done some testing and come up with this:
(15+(sin(#DWE#/z)*145))
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)
so radius:
$#DWE#<pi?(15+(sin(#DWE#/2)*145)):160$
or twice as fast:
$#DWE#<pi/2?(15+(sin(#DWE#)*145)):160$
1 Like
If you want it to start slowly and speed up, we can use TAN
$#DWE#<1.5?(15+(tan(#DWE#/1)*10)):160$
Slow it down by increasing the 1 in #DWE #/1 but to do that, the first conditional should be 1.5 * that number
$#DWE#<1.5*z?(15+(tan(#DWE#/z)*10)):160$
2 Likes
This formula is in a radius, does the same thing. Now I wonder what other task if the formula does the job?
(15+(interpAccel(#DWE#,0.5,1,0.20)*145))
1 Like
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:
2 Likes