title: JavaScript: figure out point Y by angle and distance
body: <p>In my project, I would like to draw a line from point X to point Y.</p>
  
  <p>While I know the position of point X, I only know the angle and the distance of point Y.</p>
  
  <p>So my problem is to get the coordinates of point Y by the angle (from point X) and the distance.</p>
  
  <p>I am using JavaScript for this project and don't want to use any graphical library.</p>
  
  <hr>
  
  <p>For example:</p>
  
  <ul>
  <li><p>point X (10;20)</p></li>
  <li><p>point Y (10° &amp; 200px from point X)</p></li>
  </ul>
  
  <p>It is probably pretty basic math, but I have no clue how to do it.</p>