[MeterShow]
Meter=Shape
Shape=Rectangle 10,10,193,193,97 | Fill Color 0,0,0,0 | StrokeWidth 6 | Stroke Color 255,255,0,255
I am trying to show the movement in percentile (I have the measure for that) by a segment of black 'line' travelling around the perimeter of the 6 point shape - or rather intersecting it so the segment shows a position on the shape.
If anyone knows how to do that, please drop a reply with some code or a link.
Thanks.
CC
Last edited by CodeCode on August 14th, 2021, 12:44 pm, edited 1 time in total.
[MeterShow]
Meter=Shape
Shape=Rectangle 10,10,193,193,97 | Fill Color 0,0,0,0 | StrokeWidth 6 | Stroke Color 255,255,0,255
I am trying to show the movement in percentile (I have the measure for that) by a segment of black 'line' travelling around the perimeter of the 6 point shape - or rather intersecting it so the segment shows a position on the shape.
If anyone knows how to do that, please drop a reply with some code or a link.
Thanks.
CC
Ok, I think that this may be a way, in a manner of speaking:
This will actually be a line (or rectangle, if you like), so if it's longer will step outside the circle's path, and for that death.crafter's solution (which would be my favorite as well, as it looks cool and all) is perfect. You can make it as thick as you want it though.
Yincognito wrote: ↑August 19th, 2021, 1:39 pm
Alternatively, if the "line" is short and having a longer arc of the same "path" as the circle is not needed, Roundline can do the job as well:
This will actually be a line (or rectangle, if you like), so if it's longer will step outside the circle's path, and for that death.crafter's solution (which would be my favorite as well, as it looks cool and all) is perfect. You can make it as thick as you want it though.
The actual use is simply to avoid using an image in a rotator meter. And since I have been using arc, line, shape in all sorts of ways - it just made sense at the time to use a very relatively small arc to mark a point that is in combination with several arcs and a roundline together.
Just trying to avoid images in this new version of a weather skin. Plus it is fun to get things working, and continue to learn. I am actually a bit shame I did not see the simplicity of the roundline option, but the fancy math is there to stay.
CodeCode wrote: ↑August 19th, 2021, 3:27 pm
The actual use is simply to avoid using an image in a rotator meter. And since I have been using arc, line, shape in all sorts of ways - it just made sense at the time to use a very relatively small arc to mark a point that is in combination with several arcs and a roundline together.
Just trying to avoid images in this new version of a weather skin. Plus it is fun to get things working, and continue to learn. I am actually a bit shame I did not see the simplicity of the roundline option, but the fancy math is there to stay.
For sure! I only posted this because you mentioned trying with Roundline (and the math is simpler here) - other than that, like I said, I prefer death.crafter's approach as well: it has a bit more math, but you learn other ways to do it, and have something cool looking too.