Help with ZODIAC Rotation

yep, I’ll post it in few minutes.

1 Like

here it is
what I find wrong is the date range for each zodiacal sign, for example Aries should start on march 21st, but with this formula it swap to Aries on march 1st (and so on for the other signs).
Surely there is something I don’t understand. Could you kindly help me?!!
Thank you!
This is the formula (for the left wheel) modified to match the selector
(($#DD#<20?#DM#*360/12:(#DM#+1)*360/12$)+75)
Thi is the gear one on the lower side
(($#DD#<20?#DM#*360/12:(#DM#+1)*360/12$)+180)

Thanx!!

2 Likes

That was the first thing I tried, but unfortunately there are 2 issues:
1: the formula still mismatch the data range
2: without brackets doesnt work on wear os (and the galaxy w4)

1 Like

For which day (in month) you need a value of 1…31, but for math related to month (in year) you need a value of 0…11

Formulae, for left wheel:

$#DD#<20?(#DM#-1)*360/12+75:#DM#*360/12+75$

for lower wheel:

$#DD#<20?(#DM#-1)*360/12+180:#DM#*360/12+180$
2 Likes

As an alternative to @andrew.dowden 's expressions you could try the following for rotation

(floor(((((0.985610092647349*((#DNOW#-946684800000)/86400000))+282.2))%360)/30)*30)

It assumes that the transition point between Pisces and Aires is at 0 degrees. You would adjust the number 282.2 in the expression until the zero rotation angle puts your dial where you want it.

Note that the expression, like any simple expression of this type, assume a constant zodiac ‘month’ length but that is only approximately correct for most months - it will be off by a day or so at the start of year and mid year because, although each sign of the zodiac is exactly 30 degrees, the Earth’s angular velocity about the Sun is not constant ( slower in mid year - zodiac ‘month’ is longer and faster at the end of the year ‘month’ is shorter ).

If you want exact date alignment for the transitions then I can only think of using multiple copies of the dial with opacity expressions set by the actual transition dates ( or I suppose one could add a sine wave of some sort to compensate - mmm, an exercise for another day :rofl: ).

{ oh, and you could replace 0.985610092647349 with 0.98561 without any impact :stuck_out_tongue_winking_eye: }

5 Likes

Stunning stuff as always . You Guys are Amazing . Topic Bookmarked with Thanks :+1: :slightly_smiling_face:

1 Like

Great!
I’ll try asap!
Thanx

2 Likes

these topics are great thanks to peple like you @russellcresser who deidicate time to help the other members! thank you sincerely

1 Like

Thanks to all the valuable information guys! Been working on a Zodiac face too, but some formulas just do not want to work on some watches. Either they are too long, or just too many conditionals after another.
Guess, like @mnfudoshin, I will have to settle for @mikeoday’s version.

1 Like

I am intrested in the Zodiac Faces. I will hapily test your work on my Gakaxy Active. A bit old hat now but a popular watch.

This is the one with the final formula by @GAUSS (rotating zodiac picture):Tom - TX-CR22 HYD II - watch face for Apple Watch, Samsung Gear S3, Huawei Watch, and more - Facer

This one with the @mikeoday formula (rotating cover): Tom - TX-CR22 HYD II - watch face for Apple Watch, Samsung Gear S3, Huawei Watch, and more - Facer

1 Like

Hello everyone.
I am completely new to the Facer world and before I am going to attempt programming the watch face I want, I did start previously by programming my clock face with javascript and I got stuck with the zodiac.
In my case it is a 24-hour analogue clock, so the hour indicator is actually representing the sun’s actual position in the sky related to the timezone of the observer.
I have designed a simple zodiac disk and don’t want it to be static like in the examples shown above.
I want the actual active zodiac sign to rotate with the hour indicator, so it is a linear rotation rather than flipping the sign on the day of the sign change.
I wonder if someone here has javascript skills to help me with this issue.
My javascript skills are not enough developed yet to figure out how to start the rotation of the zodiac wheel at the right angle - depending on the actual hour and in the right amount so that the hour indicator will cross over to the next sign at the correct dates.

So, basically, the hour indicator crosses one sign in 30 days.

I have looked into the linked examples of watch faces with rotating zodiac discs, but they all do the same. they only flip to the next at a static indicator position from month to month. I want mine to rotate in real-time with the sun. This is the case in the real world and this is what I want to show on my clock.

When I have my javascript version of my clock ready, which has more elements than just the zodiac, I will then attempt to design a watch face here and in the time until then, I need to study how this is done here.

1 Like

I am confused . You are on the Facer Community talking about Java Script . Do you want Help with Facer Tags ? I can not help you with Java Script .

I like a smooth Zodiac . It fudges the issue of day the sign changes nicely , and as you say it is an analogue event .

Here is a test for you . It obviously does not account for the orientation of your Image . You will have to add or subtract an adjustment angle . you will see the Summer is up on the test . I you want it to go the other way add a minus sign to the beginning of the formula .

This looks a little over the top because it accounts for Leap years .

((0.5-(#DD#/(#DIY#)))*360)

Get back if you need more help with Facer stuff.

Get back if you do not know how to inspect the face an pull out the Formula .

thanks for the feedback.
I came here to Facer after an unsuccessful search elsewhere and my ultimate goal is to create a pretty deep watch face. I am not sure yet, how deep facer actually goes with its possibilities of functionalities. I don’t want to walk into a dead end.
The watch I want is more than just a good-looking face. I want to work with the data it shows to each moment of time. There is a rather large project behind this, which I am working on for over 10 years now.
I studied media design and I have only basic knowledge of programming. Because I could not find a suitable programmer yet, who is willing to team up and capable of doing what I need, I decided to start myself to get at least a proof of concept.
I have the clock already ticking on my Mac, made with Objective-C and started all over again to program it web-based in javascript. For me, it is a lot of trial and error and watching lots of tutorials until I am getting a step further.
I am familiar with modular programmings, like facer does it here, but before I start learning something new right now, I want to research first a bit deeper, if facer is really the right way to go.

I saved your formula and try to understand what it actually means.

I thought from the start, that it was a rather long shot to ask here for help.
…but, who knows :slight_smile:

Thanks

2 Likes

I am not a programmer but a little bit experienced in creating watch faces. It would help if you explain precisely what your special watch should be able to do…i think then you will get some help here…

Greetings, GAUSS.

1 Like

@kosmasolarius I thought you were asking about rotating a circular Image of the Zodiac signs . What I have done for you will perfectly do the job if you apply it to a test face . I presume you have had a look at the Facer Creator UI . I can not tell you if Facer is the best place for you to start . I can assure you it is one of the easiest .
you must have had a look at the work others have don e . Try a search on the web page for Zodiac and see what comes up . I think you will be amazed . I am .
This is the LITE version of the watch I designed for myself . Mine has Equinox and Solstice markers on it . If you care to look on my Profile there are a few Zodiac things . You will see that I am more interested in the relationship between the sun and the moon .

2 Likes

Welcome.
Maybe just to make sure, do you plan to make a watch face for smartwatches, not phone or PC clock apps? If so, the facer has most of the platforms covered and if you want to know what is it capable to compute or what imputs you can use, see the docs here:

2 Likes

Hi GAUSS, I would love to explain all details, but it would exceed the frame of a forum discussion.
This is why I was focusing only on one thing.
Flipping a zodiac each month to the next sign is pretty simple and I can do that.
What I am not able to do is a crucial detail for the functionality of my project.

I want the actual active sign to travel with the hour indicator and the clock face will have a 24 hour division and not the typical 12 hour face.
On a 24 hour face the hour indicator actually represents the position of the sun and this is where the zodiac sign is. So I want to animate the real thing and I am having a hard time figuring out how to program this.
I was searching the internet for a while now and I simply can’t find a starting point on how to program this.
So, basically, the zodiac disc is rotating at a slightly different tempo than the hour, so each zodiac sign will travel with the hour indicator for the duration of this sign being active and then the next sign is doing the same. Basically just a rotation in a different tempo.

1 Like

@kosmasolarius. I can not Imagine what you are trying to do. Here is an Inspectable Draft I made some time ago. May be there is something here of Intrest to you.

1 Like

@kosmasolarius So with this one the Zodiac Disc runs smoothly which I prefer. It is difficult to get the stepped one to flip on the correct day forever. So the smooth one fudges the Issue and also represents better the transit of the Constellations in reality.

Published Inspectable Face.

1 Like