It is currently July 20th, 2019, 8:55 pm

trick: nicer Rotator meters

Tips and Tricks from the Rainmeter Community
User avatar
moshi
Posts: 1851
Joined: November 13th, 2012, 9:53 pm

trick: nicer Rotator meters

moshi » December 10th, 2013, 10:22 am

there is one thing that has bothered me in all the years with Rainmeter: there is a bug in the Rotator meter that makes images not rotating round, but slightly elliptical.

as this bug is probably not noticable for most people and likely not will be fixed, i thought i could share the solution i found to fix it.

first have a look at what i mean: look at the second hand. on the left hand side you see how it looks if you follow the manual and the tutorial:
http://docs.rainmeter.net/manual-beta/meters/rotator
http://docs.rainmeter.net/tips/rotate-an-image-around-its-center
on the right hand side you see how it looks after the fix:
clock2.jpg
everything looks nice between 0 and 15 sec, then it gets worse until 30 sec, stays bad until 45 sec, and then gets better again.

now the trick:
what you got to do is creating a Rotator image, just as if the manual/tutorial was right. make it a square image, that will make things easier. in this case make a 31x31 pixel image.
but when you enter the code in the skin's ini file, just pretend the image is one pixel smaller, so for an 31x31 pixel image use:

Code: Select all

[Rotator]
W=30
H=30
OffsetX=15
OffsetY=15
yep, it's weird ... but it works. no matter whether the size is odd or even, no matter whether the image is small or large. just pretend it is one pixel smaller than it actually is and should be.
clock1.jpg
i have attached an example skin, so you can see it moving:
You do not have the required permissions to view the files attached to this post.