title: How to find point cordinates in a circle using radius and center cordinate
body: <p>I am trying to map all circle cordinates to a flat surface using OpenGL fragment shader as shown in the picture. I know the radius and center point of the circle. So I am trying to use the below equation:</p>
  <p>For a circle with origin (j, k) and radius r:</p>
  <pre><code>x(t) = r cos(t) + j
  y(t) = r sin(t) + k
  </code></pre>
  <p>where you need to run this equation for t taking values within the range from 0 to 360, then you will get your x and y each on the boundary of the circle.</p>
  <p>But I am facing below problem:</p>
  <ol>
  <li><strong>Angle values are in degrees. Can I use that directly in the fragment shader code as the OpenGL cordinates are from 0.0 to 1.0?</strong></li>
  </ol>
  <p><a href="https://i.stack.imgur.com/jbA1i.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jbA1i.png" alt="enter image description here" /></a></p>