It is currently August 5th, 2024, 3:45 pm

Get help with creating, editing & fixing problems with skins
D_Reckoning
Posts: 10
Joined: July 14th, 2010, 10:15 pm

Two Threads in a matter of hours, and probably a simple solution (heh, hopefully at least) - This time it's som rather non-functioning math that's got me at my wit's end:

I've got a value in degrees (~277). I want this represented by a "Roundline"-meter, which means I have to convert it to radians (or so I've understood). Problem is... maybe I'm just missing something from lack of sleep, but none of the methods I've tried seems to yield accurate results: I always end up with a result of ~4.84, which means that the meter that's supposed to point mostly to the left, points almost directly upwards (equivalent of ~355+ degrees). Any ideas what I'm doing wrong?

Conversions I've tried:
-(<angle>*Pi)/180

code: (In case I've mucked up something there)

Code: Select all

``````[MeterMercury]
Meter=Roundline
MeasureName=MercuryFin ;The measure that produces the final radian value.
W=320
H=320
StartAngle=4.7123889
RotationAngle=-6.28319
LineLength=25
LineStart=0
LineColor=#Colour#, 255
AntiAlias=1``````
Alex2539
Rainmeter Sage
Posts: 642
Joined: July 19th, 2009, 5:59 am