title: Drawing a trajectory in javascript?
body: <p>Not sure where else to ask about this. I'm using a in HTML and would like to draw a trajectory of a projectile starting from the bottom left of a canvas, being shot in an angle, with a certain velocity (like <code>45degrees</code> at <code>10ms</code>). So far I've mostly seen using the </p>
  
  <pre><code>ctx.beginPath();
  
  ctx.moveTo(0, 0);
  
  ctx.lineTo((180), 180);
  
  ctx.stroke();
  </code></pre>
  
  <p>But that only draws a straight line?</p>