No, I'm not at all. But am glad if you like it.
Yes, we can:
Code: Select all
[Rainmeter]
Update=1000
SkinWidth=(#CenterX#+#Radius#+10)
SkinHeight=(#CenterY#+#Radius#+10)
[Variables]
CenterX=200
CenterY=200
Radius=150
[MeasureVolume]
Measure=Plugin
Plugin=Win7AudioPlugin
[MeterShape]
Meter=Shape
X=2
Y=2
Shape=Arc #CenterX#,(#CenterY#-#Radius#),(#CenterX#+#Radius#*Sin(Rad(((-1*Clamp((360*([MeasureVolume:]/([MeasureVolume:MaxValue]-[MeasureVolume:MinValue]))),0,180)+180)%360)))),(#CenterY#+#Radius#*Cos(Rad(((-1*Clamp((360*([MeasureVolume:]/([MeasureVolume:MaxValue]-[MeasureVolume:MinValue]))),0,180)+180)%360)))),#Radius#,#Radius#,0,0,0,0 | Extend MyModifiers
Shape2=Arc (#CenterX#+#Radius#*Sin(Rad(((180+180)%360)))),(#CenterY#+#Radius#*Cos(Rad(((180+180)%360)))),(#CenterX#+#Radius#*Sin(Rad((-1*(Clamp((360*([MeasureVolume:]/([MeasureVolume:MaxValue]-[MeasureVolume:MinValue]))),180,360)+180)%360)))),(#CenterY#+#Radius#*Cos(Rad(((-1*Clamp((360*([MeasureVolume:]/([MeasureVolume:MaxValue]-[MeasureVolume:MinValue]))),180,360)+180)%360)))),#Radius#,#Radius#,0,0,0,0 | Extend MyModifiers
MyModifiers=StrokeWidth 8 | Stroke Color 173,220,247,255 | Fill Color 0,0,0,0 | StrokeStartCap Round | StrokeEndCap Round
DynamicVariables=1
- Multiplied the angles by -1, to get the arc extending in the opposite direction (see the -1*Clamp sections of the formulas used into the Shape and Shape2 options of the [MeterShape] meter).
- Changed the SweepDirection parameter (the 8th) of both Shape options of the same meter from 1 to 0.
Yep, probably can be done this as well, but this will be a next step. Stay tuned...
Not sure I really understand why you've posted the last code. But if you are interested why PI is, here is a Wikipedia article about it.