It is currently April 26th, 2024, 10:41 pm

calculating a dynamic startingangle?

Get help with creating, editing & fixing problems with skins
FreakQuency
Posts: 33
Joined: May 4th, 2010, 4:38 pm

calculating a dynamic startingangle?

Post by FreakQuency »

i am currently working on an analog clock that needs a rotator meter to use a dynamic starting angle but couldnt make it work.what am i doing wrong or is there a way to do it correctly?


Code: Select all

[hourmeasure]
Measure=Time
Format=%I

[MeasureSAMin]
Measure=Calc
Formula=(hourmeasure * 0,5235)


[Meterseconds]
MeasureName=MeasureTime
Meter=ROTATOR
X=0
Y=0
W=400
H=400
ImageName=dk.png
StartAngle=[MeasureSAMin]
RotationAngle=-3,1416
ValueReminder=3600
OffsetX=0	
OffsetY=75
AntiAlias=1
DynamicVariables=1
User avatar
Alex2539
Rainmeter Sage
Posts: 642
Joined: July 19th, 2009, 5:59 am
Location: Montreal, QC, Canada

Re: calculating a dynamic startingangle?

Post by Alex2539 »

There is a problem in you Calc measure: the formula should be "Formula=(hourmeasure * 0.5235)". Decimals are denoted with a period, not a comma.
ImageImageImageImage
FreakQuency
Posts: 33
Joined: May 4th, 2010, 4:38 pm

Re: calculating a dynamic startingangle?

Post by FreakQuency »

Thanx very much i didnt recognize it till you said. just copied it from a converter on net:)