title: SVG stroke-dasharray offset not consistent
body: <p>I have a series of circles with borders comprised of smaller circles which I will call 'dots'. I am then animating the circles by rotating them with CSS3's <code>transform</code>, each by either 5 or 15 degrees (alternating) more than the last starting with the middle circle not rotating at all. This alternating of degrees is due to the original offset of half of them of <code>5deg</code></p>
  
  <p>The animation itself works great, but the offset between each dot in a circle is not consistent. This is made obvious when the animation completes, some dots jump back. If they were all off by a consistent amount then it would be an error in my calculations, but dots around the same circle jump different amounts, meaning that they are offset different amounts to begin with. Vals, in his example at the end of his answer, also shows this inconsistency in offset</p>
  
  <p>Here is how each circle is set up. The spacing in between each dot was determined by using the formula <code>spacing = (radius × 2) × 3.14159265 ÷ numberOfCircles</code>. The <code>.001</code> is to allow Chrome to see the dots</p>
  
  <pre><code>&lt;circle cx="30" cy="30" r="radius" stroke-dasharray="0.001, spacing" stroke="color"/&gt;
  </code></pre>
  
  <p><a href="http://jsfiddle.net/75WsM/16/"><strong>Here is the demo jsFiddle</strong></a></p>
  
  <p>Can anyone help me fix this SVG rendering offset bug?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>vals and squeamish ossifrage both provided wonderfully working alternative solutions to the problem. However, I'm still looking to actually fix the offset/rendering issue if such a thing is possible</p>