exper1mental wrote:I can't believe this isn't a sticky or something! I love how it provides a nice and simple way for the clock hands to move smoothly.
It is never going to be perfectly "smooth", but the lower you make the Update and the higher you make the AverageSize, the more "smooth" it is. The lowest possible Update is 16 (really 15.6 or some such, but Update must be an integer), so about the best you can get is:
Code: Select all
Information=Analog clock with sweep second hand.
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Version=Apr 1, 2013
Formula=(MeasureTime % 60) / 60
The price you pay is that the position of the second hand will "trail" the actual value of the seconds by a little more than 1 second, due to the "averaging". When the skin is loaded or refreshed, the Time measure won't start returning a value until it get the first 16*62.5 "average", or just about one second.
Generally speaking that will not matter and will be invisible, unless you for instance had a digital clock on the screen at the same time and noticed that the digital clock changed the minute while the analog clock still showed it was only 58 seconds or so. It's not in any way inaccurate or "losing" time, just "trailing" by a second or so.
The other thing you might see with an Update this low, is if your Rainmeter in general is very busy, you have a lot of skins that are updating all at once or very often, the seconds hand, which is actually based on a combination of "time" and "skin updates", might occasionally "skip" an update, and then have a very tiny jerk as it "catches up". Also probably not a big deal or very visible.
But in any case, while you can get pretty close to visibly smooth, it can't be perfect. Even if a Time measure could measure in millisecond increments, (which it can't) and you could have Update=1, (which you can't) it would still just be "tick-tick-tick-tick" instead of "tick----tick----tick----tick". It really can't ever be as smooth as a mechanical analog clock.