title: Point arrow in vector direction
body: <p>I'm trying to point an arrow in the direction of a vector (which in this casse is a wind), but am utterly lost.</p>
  
  <p>This is what I've done so far:</p>
  
  <pre><code>PVector wind = new PVector(0.01, 0.00);
  float degrees = atan(wind.y / wind.x);
  rotate(radians(degrees));
  // draw an upwards pointing arrow
  </code></pre>
  
  <p>I'm no genius with maths; not even sure about if the degrees are right, but it's the only formula I can find on the internet.</p>