I wanted to create a watchface with all the solar system planets, making them rotate all together at different speed.
First I used @Mellin expressions for X and Y axis, adjusting the centre of rotation to the left limit of the face, but now I don’t know how to change values to make every planet rotate at a different set speed.
but the aim is, as I tried to explain above, to make it move at a given speed.
Here the “speed” I want to have for every planet orbit, that is to say the time I want for every planet to make a complete circle around the 0 centre point:
Thanks for your help, it works great without the divisor, with jupiter making one revolution per second.
But when I add a divisor greater than 60, the revolution movement stops after 60 seconds and restarts from the initial position.
I think it can be easier to save the png images of the planets as “ends” of transparent hands, align them at the bottom, position them at the left edge of the dial and rotate them with the rotation function of smooth second value
Despite this, I still haven’t achieved what I wanted. With the tag #DW # planets start to move only when the clock wakes. Isn’t there a way to keep them in motion?
Ok, my mistake, I assumed wrongly that you only wanted them to move on waking. My understanding is that most ( maybe all ? ) smartwatches only update the screen once per minute in dim mode. So if you get it rotating in dim mode it still may not do what you want for the short period planets.
Anyway, another tag you can try is #DNOW#; from memory it is in milliseconds so you will need to take that into account. That is, it returns a continuous count of milliseconds since 1 Jan 1970 ( from memory ). However, as I said above, it still may not help with update periods of less than a minute in dim mode.
Yep, for elliptical orbit you can also use smooth rotation + 1 axis sin, but in that case sin and cos are better, and as Mike said in dim mode mostly every watch update the frame every minute so it can’t continue rotating smoothly.