Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 1754

Help: Rainmeter Skins • Re: Help: Pie Shape using the shape meter

$
0
0
I think that it is simpler to use the Rotate modifier than to change sin() and cos() parameters in the Path of each shape. Am I wrong?
No no, it's ok. I just mentioned an alternative way to do the same thing, that's all. You don't have to do it as I mentioned, so it's all good.
I hardcoded the number of wedges because the shape in the first post has eight wedges and probably that does not have to be changed. As you said though, it can be parameterized.
Sure thing!
Gaps are not specified by degrees. In my code, the topmost (first) wedge is shifted upward from the center point and succeeding wedges are created by rotating the first wedge around the center point. The bigger the shift amount is, the wider the gaps are. This is to make the gap between each wedge be a line, not a wedge.
Oh, I see now. The shift idea a smart choice indeed - well done!
Anyway, I found errors in my code. I'll incorporate your suggestion and rewrite the code. Thanks.
Again, you don't necessarily have to - there were just some technical considerations on how I saw these things. If you think the way you wrote is suited for the purpose, then by all means, keep that - I'm certainly not looking to impose 'my way' in what is your own sample skin, after all. ;)

Statistics: Posted by Yincognito — Today, 1:40 pm



Viewing all articles
Browse latest Browse all 1754

Trending Articles