Here is example:
http://jsfiddle.net/pcNzb/9/
I just study, so i must have missed something or have done something wrong. 🙂
See the gap between arcs? I’m building full circle with small arcs. I know how to fix it but i guess it’s better to avoid redrawing full arc on each step or i’m wrong?
I found another solution, with offset. Setting offset moveToRad+0.009
ctx.arc(x(),y(),radius,-moveFromRad,-moveToRad-0.009,antiClockwise);
to overlap one arc part over another, but that becomes visible if i’m using rgba alpha to 0.5 for example.
Is there some else fix for it excepting the full circle redraw on each step?
In short no, not if you want it to work cross-browser and look nice with semi-transparent colors.
That means, modifying your code to clear on each draw and eliminate the start angle step: http://jsfiddle.net/pcNzb/10/
see the two !!!-marked comments: