title: Javascript set text-shadow from angle
body: <p>If I have an angle such as 45 degrees and I want to make a text shadow based on that angle with a certain length how could I do this with javascript (I'd prefer no jquery)?</p>
  
  <hr>
  
  <p>Example: </p>
  
  <p>36.87 degrees</p>
  
  <pre><code>text-shadow: 4px 3px blue;
  </code></pre>
  
  <p>53.13 degrees</p>
  
  <pre><code>text-shadow: 3px 4px blue;
  </code></pre>