title: How to find x and y coordinates on a flipped circle using javascript methods
body: <p>I am trying to find the X, Y points on a circle where 0 degrees starts at the top of the circle and moves clockwise. Typically, to find the x, y coordinates on a circle with a known radius and angle you could simply use the formula x = r(cos(degrees‎°)), y = r(sin(degrees‎°)). The circle would look like this and the degrees would expand counterclockwise from 0‎°.
  <a href="https://i.stack.imgur.com/5zOW8.gif" rel="noreferrer"><img src="https://i.stack.imgur.com/5zOW8.gif" alt="enter image description here"></a></p>
  
  <p>However, I am using a circle where the 0‎° starts at the top and the degrees expand as one moves clockwise around the circle. Supposing that <code>var r = 60;</code> and <code>var degrees = 130;</code> what formula could I use (or javascript methods)  to determine the X, Y values. Note: I can assume an origin point of 0, 60 because r = 60. Thanks.
  <a href="https://i.stack.imgur.com/X2wxg.png" rel="noreferrer"><img src="https://i.stack.imgur.com/X2wxg.png" alt="enter image description here"></a>  </p>