title: How to calculate the SVG Path for an arc (of a circle)
body: <p>Given a circle centered at (200,200), radius 25, how do I draw an arc from 270 degree to 135 degree and one that goes from 270 to 45 degree?</p>
  
  <p>0 degree means it is right on the x-axis (the right side) (meaning it is 3 o' clock position)
  270 degree means it is 12 o'clock position, and 90 means it is 6 o'clock position</p>
  
  <p>More generally, what is a path for an arc for part of a circle with</p>
  
  <pre><code>x, y, r, d1, d2, direction
  </code></pre>
  
  <p>meaning</p>
  
  <pre><code>center (x,y), radius r, degree_start, degree_end, direction
  </code></pre>