It is currently April 18th, 2024, 8:42 am

Help avoiding abrupt restarting/refreshing of a rotator skin

Get help with creating, editing & fixing problems with skins
User avatar
yash1331
Posts: 5
Joined: February 12th, 2014, 8:15 pm
Location: India

Help avoiding abrupt restarting/refreshing of a rotator skin

Post by yash1331 »

Hi, after countless hours of searching on forum and going through Rainmeter Docs again and again, I've finally accepted defeat and I come here asking for help in my rotator skin (http://fav.me/d6hcqa3)

My Issue is that the skin when reaches max value of 360 it refreshes itself which is while the rotation of images is not complete. Due to this it looks absolutely horrible when you notice skin skipping complete rotation and starting from beginning.

In other words, the looping of rotation/animation is incomplete & hence does not look smooth.

please help me :oops:
Last edited by yash1331 on June 7th, 2019, 7:09 pm, edited 1 time in total.
Image
J.A.R.V.I.S. + S.H.I.E.L.D. OS - Yash1331
User avatar
balala
Rainmeter Sage
Posts: 16143
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Help avoiding abrupt restarting/refreshing of a rotator skin

Post by balala »

There is a problem with the RotationAngle options of the Rotator meters. The RotationAngle is:
The size of the rotation angle in radians for the image.
There are two issues with this:
  • If you set the RotationAngle to 10, -10, 5 (or whatever else then the default 2*PI) not a whole rotation is completed in a whole cycle of the [MeasureRotate] measure.
  • The value of the RotationAngle (as a matter of fact, of all options related to angles, in all "older" meters - like Rotator, or Roundline) must be expressed into radians. This is the measure unit of the angles (not degrees, as most people are get used with it).
To set the desired angle to start the rotation with, you have to work not with the RotationAngle, but with StartAngle.
So, modify the meters as it follows:

Code: Select all

[MeterRotate]
...
StartAngle=(Rad(0))
RotationAngle=(Rad(360))
...

[MeterRotate2]
...
StartAngle=(Rad(-10))
RotationAngle=(-Rad(360))
...

[MeterRotate3]
...
StartAngle=(Rad(10))
RotationAngle=(Rad(360))
...

[MeterRotate4]
...
StartAngle=(Rad(-10))
RotationAngle=(-Rad(360))
...

[MeterRotate5]
...
StartAngle=(Rad(-10))
RotationAngle=(-Rad(360))
...

[MeterRotate6]
...
StartAngle=(Rad(0))
RotationAngle=(Rad(360))
...

[MeterRotate7]
...
StartAngle=(Rad(5))
RotationAngle=(Rad(360))
...
Note that the meters which have positive Rotationangle, are rotating clockwise, while those with negative RotationAngle are rotating anticlockwise. Also note that I rewrote the RotationAngle to StartAngle.
User avatar
yash1331
Posts: 5
Joined: February 12th, 2014, 8:15 pm
Location: India

Re: Help avoiding abrupt restarting/refreshing of a rotator skin

Post by yash1331 »

balala wrote: June 7th, 2019, 6:48 pm There is a problem with the RotationAngle options of the Rotator meters. The RotationAngle is:
. . .
Thanks. I didn't quite understand it right now but it fixed the problem. I'll learn from the links you gave me after exams.

Thanks a lot :D :thumbup:
Image
J.A.R.V.I.S. + S.H.I.E.L.D. OS - Yash1331
User avatar
balala
Rainmeter Sage
Posts: 16143
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Help avoiding abrupt restarting/refreshing of a rotator skin

Post by balala »

yash1331 wrote: June 7th, 2019, 7:09 pm I'll learn from the links you gave me after exams.
Wish you great success at the exams!
Feel free to come back, if you have questions.