Mimic the pendulum of a wristwatch

I’m not a programmer. And for a long time I’ve been trying to find a formula to simulate the pendulum in a wristwatch. For example, in WatchMaker I used the formula (math.abs((math.floor({dss}/100)*100)-math.mod({dss},100), 6)/0.5). But in Watch Face Studio. I can’t apply a similar variant. Either it is too slow. Or it’s uneven. I will be very grateful for your help.

1 Like

I made a pendulum Face some time ago but Samsung and google have broken it now . They have added a 10ms glitch every second . They are trying to persuade us not to use effects that consume a lot of power .
This is the formula I used for 1 second ( Royal Pendulum )

((sin(((([SEC_MSEC]))*3.14159)*1))*30)

Thanks, I tried that and it’s a little different than what I wanted. I want an anchor stroke circular pendulum (like a wristwatch) and with a higher swing frequency. If the amplitude of rotation is not difficult to set by formula, I can’t manage to increase the frequency of rotation.

1 Like

@krolev you can multiply the factor by which you want to increase the frequency like this:
[SEC_MSEC] * factor

((sin(((([SEC_MSEC]*2))*3.14159)*1))*30)
1 Like

Unfortunately that doesn’t change anything.

1 Like

And this is how I do it in WatchMaker.

1 Like

Did you try .

((sin(((([SEC_MSEC]))*3.14159)*2))*180)

2 being the frequency
180 Being the amplitude

I have no tried it on a watch . Looks terrible in WFS.

I tried to increase the rotation by adding this. But it looks a bit choppy.

((360*1)
((sin(((([SEC_MSEC]))*3.14159)))*((360*1)+30))

let me know if this works

1 Like

360*1=360

If it looks choppy it is probably because of the Restriction .

Unfortunately none of the options look like real traffic. I’ve tried all of your suggestions. But alas. In watch face, unlike watchMaker (in the video above), it doesn’t produce real motion.

1 Like

That option doesn’t work either.

1 Like

This option doesn’t look like a real movement either. I’ve been trying to find an option for a long time now, but it seems to be a problem at Samsung.

1 Like

Yeah . Sorry it is an issue with WFS . I can assure you if there was a better formula someone would hav posted it . See the previous Topics on the subject .
.

Yes, all the formulas in the theory are correct. But how WFS processes them, unlike other similar constructors (Facer, Watchmaker…), is an incomprehensible mystery.

1 Like

It is all about Power saving . The third party app are criticized for using more power than native Apps running the in house OS . Facer get a lot as it uses a bit of extra power . It has many things that WFS does not feature . Samsung and Google do not want their faces to run Heavy . When Garmin can run for a Week literally on one charge . I would be lucky to get two days out of my GW5 Pro without using Facer . So WOS is not that SLIM .

3 Likes

Yeah, that’s probably it. In my understanding (I think illiterate) a second is a second and it can be multiplied or divided to get the desired result. But not at Samsung.

1 Like

Is this the sort of thing? You’ll need to delete the .zip extension to play it.

Screen_recording_20250409_153230.webm.zip (714.4 KB)

If it is, I’ll explain. If it isn’t, I won’t. :slight_smile:

1 Like

@Gondwana . That looks great to me . I wonder what the process is . I for one would be grateful if you shared that .

Yes, I can achieve this result, but you need a swing frequency at least 2-3 times higher. Such as I’ve shown in the video above. But I did it in Watchmaker. (Above I posted the formula I used to make this effect in WM). It looks realistic there. And in WFS frequency, without sacrificing smoothness can not be reproduced in any way. If in your variant it is possible, I will be very glad to see it.

1 Like

That’s all I’m getting out.

1 Like