I would like to have minutes around watch, like 1 minute on tick 1 moving to 2 minutes on tick 2 and then changing to 3 min on tick 3.
I try with text (i put [MIN] in text field), but i can’t make it move around.
Can someone help me!
Thanks
Hello, I guess you would need to use tag expressions in placement coordination to make your text field to “orbit” around the dial. Something like this:
X: sin(2*3.142*[MIN]/60)*132
Y: 0-cos(2*3.142*[MIN]/60)*132
(for moving with radius of 132 for example)
WOW! There was a long time that i study sin cos etc…
You are genius. That is exactly what i need.
Thank you
I’ve been looking thru the forum without finding the answer.
This
X: sin(2*3.142*[MIN]/60)*132
Y: 0-cos(2*3.142*[MIN]/60)*132
orbits the objet with a 132 pixels radius, minute movement wise but HOW can I ‘place’ it x,y wise within the circle face ?
Using the above code puts an object at 0/12 & 132 pixels radius and rotates it minute wise. OK
Let’s say I want to place a 2nd object at 3/15 and rotates it also minute wise, how do I input that ?
Sorry if for some this sounds obvious or silly but I’m really not into math and stupid IA keeps giving me non working solutions.
Just add values to each expression; eg,
50+sin(2*3.142*[MIN]/60)*132
The easiest way to change the phase may be to adjust the [MIN]; eg,
([MIN]-15)
I didn’t test any of this. Experiment.
I think I’ve already tried that but, unless I’m mistaken or did something wrong (I’m loosing eyesight) it only shifts the orbital area of the 2nd object related to the 1st, meaning it puts the 2nd object in an eccentric area related to the housing main circle., i.e the face (in case of big shifting values).
I don’t fully understand. I think that such equations will change x and y relative to the containing element (ie, parent element). If your object isn’t orbiting the element you want it to, you may need to restructure your element hierarchy. may be your friend here.
A picture is worth thousands words, so here is the environment :
I need circles 2 & 3 to orbit INSIDE circle 1, relatively to each other positions/
If you want the elements to keep constant angular distance between them, then you have to add the angle into formula for the other orbiting element for example like this:
X: sin(2*3.142*([MIN]/60+angle_in_degrees/360))*radius
Y: 0-cos(2*3.142*([MIN]/60+angle_in_degrees/360))*radius
That is EXACTLY it !
Thanks a (big) lot.
Just for the sake of it, as I neither didn’t find anything related in the forum, is there a way to replicate the sweep movement of analog hands ?
I can not test it on a watch, but so far in preview unfortunately WFS can not provide smooth movement to any other element than seconds hand. The tag [SEC_MSEC] is not refrereshed, as one would have expected, with milliseconds, but maybe 5 or 10 times a second and any element movement related to it is visibly jerky. I think we discussed it few times already
However if you would like to make the orbiting smoother with minutes and hours use [MIN_SEC] instead of [MIN] and [HOUR_0_11_MIN] instead of [HOUR_0_11]
Thanks for the info, I’ll try that right away.
I was crawling thru some past watch pictures to stumble upon this Blu brand
which put me right on track of this thread.
Thanks to you I’m able to have an orbiting object but is it possible to make it orbiting inside another orbiting object, with it’s own momentum, like this :
Am I wrong to assume that it would require variables to keep track of the parent object ? For the first 2 circles, we have the watch and the hands but what about the third one ?
I think this would be possible without variables. The inner element’s position and angle (if necessary) would require equations that are based on those of the outer element plus ‘corrections’ to orient the inner element with respect to the outer element.
Please describe what should them elements do. I assume they have to turn in certain way. Smallest circle within the middle one, middle one within the big one and the big within the screen maybe? What parameter should they relate to?
Just the two orbiting with the smallest one staying inside it’s parent the big circle represents the watch face diameter.
The idea is the middle circle being minutes, the small hours. Minutes orbit with hours orbiting INSIDE it.
Alright that simplifies things.
one object (for example smaller 12 index marks for hour) orbits like
X: center placement + sin(2*3.142*[MIN]/60)*radius1
Y: center placement + 0-cos(2*3.142*[MIN]/60)*radius1
if second object is just hour hand that should point to these marks within orbiting indexes, it just has to share the same orbiting coordinates.
if second object (for example hour number) should orbit around orbiting pivot point related to the first object, it will have the coordinates simply added to together
X: center placement + sin(2*3.142*[MIN_SEC]/60)*radius1+sin(2*3.142*[HOUR_0_11_MIN]/12)*radius2
Y: center placement + 0-cos(2*3.142*[MIN_SEC]/60)*radius1-cos(2*3.142*[HOUR_0_11_MIN]/12)*radius2
Peter always blows my mind with math solutions.
Jesus!
Damned… I was about to reply in my thread with @Peter 's answer I picked in a search query, asking if this could be applied to this thread… Sometime my eyes are really failing me ;.)
I’ll try this and thanks in advance if this is the answer.
EDIT : That is the solution. Thanks !