Hands that work as local time, and also chronograph

Hello everyone … I need help with codes. Thank you in advance for anyone who can help me.
I need a code, that when I tap the center of the smartwatch, make the 3 hands of the clock that mark the current time (hrs, min, sec), go to the 12 o’clock position, and then those same hands will now work as a chronograph. And when I tap again, the hands return to the current time position. That is, the hands that mark the current time, are also used with a chronograph.
(remembering that I need the hands to run to the 12 o’clock position, not the hands to disappear and appear at the 12 o’clock position.)

That is an available option for subscribers, so I’m sure someone will soon point you in the right direction…good luck :slightly_smiling_face:

:slightly_smiling_face: :+1: Yes… thanks!!

1 Like

I think what you’re wanting to do ought to be possible, but I don’t know how to code it directly. We need to conjure up @ThaMattie he enjoys a good coding challenge :slight_smile:

2 Likes

Does saying his name three times, he appears? :smile:

1 Like

One time is enough… I’ve seen this thread, but I don’t have pro, so not sure how the chrono stuff works.
Do you want the hands to start running on the first tap? Or tap 1: park, tap 2: start, tap 3: stop, tap 4: back to time?

1 Like

The way I would approach this is with a separate set of hands for the chrono part. They can be the same design, so no one using the face would know, but its just different layers for the chrono hands as the main ones. You do need Creator Pro to do this, but should be a piece of cake to implement (says he who hasn’t actually done it). If you need it, I can put together an example for you to see. Not sure I can do it today though - might have to be tomorrow.

1 Like


With taps in the center, you choose to have the hands work as the current time, or chronograph. But I need the hands swipe up to the chosen position.

:point_up_2:It will be that way @ThaMattie @richiebee thanks for helping me. It is a watchfaces that will work in Creator Pro mode :+1:

1 Like

Heres some code to put hands to the 12 o’clock position -

Park seconds

$#VAR_1#==1?(#DWFSS#-(interpAccel((#DNOW#-#VAR_1_T#),0,1000,1)*#DWFSS#)):(interpDecel((#DNOW#-#VAR_1_T#),0,1000,1)*#DWFSS#)$

Park minutes #DWFMS#

$#VAR_1#==1?(#DWFMS#-(interpAccel((#DNOW#-#VAR_1_T#),0,1000,1)*#DWFMS#)):(interpDecel((#DNOW#-#VAR_1_T#),0,1000,1)*#DWFMS#)$

Park hours #DWFKS#

$#VAR_1#==1?(#DWFKS#-(interpAccel((#DNOW#-#VAR_1_T#),0,1000,1)*#DWFKS#)):(interpDecel((#DNOW#-#VAR_1_T#),0,1000,1)*#DWFKS#)$

The 1000 is MS speed at which they park.

The part of this I’m not sure about, is how you delay the changeover from watch hands to chrono hands during this animation.

1 Like

thanks!

Hello everyone again … I got this code below, and the hands are working the way I want, in relation to the current time change, for chronograph. But after you start the chronograph, the second hand of the current time spins several times and increases the spins while increasing the minutes. This happens gradually when you complete each minute. In other words, from the first minute, the hand rotates, in the second minute, two spins, in the third minute, three spins … and it continues to increase the spins with each additional minute. I need the hands to rotate only once when changing the current time, for chronograph. Thank you in advance for your help.
:point_down:t3:
Hour hand rotation
$(#VAR_1#%2)==0?(((#SWEH#6)-360)+(interpAccel(#DNOW#-#VAR_1_T#,0,500,0.5)(((#DWFKS#)-360)-((#SWEH#6)-360)))):$$(#VAR_1#%2)==1?(((#DWFKS#)-360)+(interpAccel(#DNOW#-#VAR_1_T#,0,500,0.5)(((#SWEH#*6)-360)-((#DWFKS#)-360)))): $

Minute hand rotation
$(#VAR_1#%2)==0?(((#SWEM#6)-360)+(interpAccel(#DNOW#-#VAR_1_T#,0,500,0.5)(((#DWFM#)-360)-((#SWEM#6)-360)))):$$(#VAR_1#%2)==1?(((#DWFM#)-360)+(interpAccel(#DNOW#-#VAR_1_T#,0,500,0.5)(((#SWEM#*6)-360)-((#DWFM#)-360)))): $

Second hand rotation
$(#VAR_1#%2)==0?(((#SWES#6)-360)+(interpAccel(#DNOW#-#VAR_1_T#,0,1000,0.5)(((#DWFSS#)-360)-((#SWES#6)-360)))):$$(#VAR_1#%2)==1?(((#DWFSS#)-360)+(interpAccel(#DNOW#-#VAR_1_T#,0,1000,0.5)(((#SWES#*6)-360)-((#DWFSS#)-360)))): $

1 Like

I think some characters are lost in your expression when posting it on the forums.
Put your expressions between `` to show them as “code”:
(somethingsomethingsomething)
(something*something*something)

As for your problem, try using mod (%) to lock your rotation to 1
For example: ((#SWES#%60)*6) or ((#SWES#*6)%360) will prevent the degrees to go over 360.

1 Like

Thanks @ThaMattie, some expressions have really been lost. I will post again.

hrs
$(#VAR_1#%2)==0?(((#SWEH#*6)-360)+(interpAccel(#DNOW#-#VAR_1_T#,0,500,0.5)*(((#DWFKS#)-360)-((#SWEH#*6)-360)))):$$(#VAR_1#%2)==1?(((#DWFKS#)-360)+(interpAccel(#DNOW#-#VAR_1_T#,0,500,0.5)*(((#SWEH#*6)-360)-((#DWFKS#)-360)))):$

min
$(#VAR_1#%2)==0?(((#SWEM#*6)-360)+(interpAccel(#DNOW#-#VAR_1_T#,0,500,0.5)*(((#DWFM#)-360)-((#SWEM#*6)-360)))):$$(#VAR_1#%2)==1?(((#DWFM#)-360)+(interpAccel(#DNOW#-#VAR_1_T#,0,500,0.5)*(((#SWEM#*6)-360)-((#DWFM#)-360)))):$

sec
$(#VAR_1#%2)==0?(((#SWES#*6)-360)+(interpAccel(#DNOW#-#VAR_1_T#,0,1000,0.5)*(((#DWFSS#)-360)-((#SWES#*6)-360)))):$$(#VAR_1#%2)==1?(((#DWFSS#)-360)+(interpAccel(#DNOW#-#VAR_1_T#,0,1000,0.5)*(((#SWES#*6)-360)-((#DWFSS#)-360)))):$

I think it’s right now.
I changed the -360 for %360 in the formulas, and solved it. Thanks!

2 Likes

Excellent result chaficefeguri, a nice, clean, Chronograph Face :clap:

1 Like

Thanks! It is still incomplete, but it is almost that.

I know it’s incomplete, but it’s a good design and works well, so well done :clap:

1 Like

Hello everyone again.
These formulas look great and are working well, all hands make the transitions slowly and continuously correctly, but the stopwatch hands, when reset, do not make this transition slowly and continuously until the 12 o’clock position. Does anyone know how to fix this?

hrs (hand rotation)
$(#VAR_1#%2)==0?(((#SWEH#*30)%360)+(interpAccel(#DNOW#-#VAR_1_T#,0,500,0.5)*(((#DWFKS#)%360)-((#SWEH#*30)%360)))):$$(#VAR_1#%2)==1?(((#DWFKS#)%360)+(interpAccel(#DNOW#-#VAR_1_T#,0,500,0.5)*(((#SWEH#*30)%360)-((#DWFKS#)%360)))):$

min (hand rotation)
$(#VAR_1#%2)==0?(((#SWEM#*6)%360)+(interpAccel(#DNOW#-#VAR_1_T#,0,500,0.5)*(((#DWFM#)%360)-((#SWEM#*6)%360)))):$$(#VAR_1#%2)==1?(((#DWFM#)%360)+(interpAccel(#DNOW#-#VAR_1_T#,0,500,0.5)*(((#SWEM#*6)%360)-((#DWFM#)%360)))):$

sec (hand rotation)
$(#VAR_1#%2)==0?(((#SWES#*6)%360)+(interpAccel(#DNOW#-#VAR_1_T#,0,1000,0.5)*(((#DWFSS#)%360)-((#SWES#*6)%360)))):$$(#VAR_1#%2)==1?(((#DWFSS#)%360)+(interpAccel(#DNOW#-#VAR_1_T#,0,1000,0.5)*(((#SWES#*6)%360)-((#DWFSS#)%360)))):$

@ThaMattie , @richiebee , @kvansant , or someone else…