title: How to get a sprite to rotate to face the mouse position, using HTML5 canvas?
body: <p>I'm trying to follow <a href="http://active.tutsplus.com/tutorials/games/hit-the-target-with-a-deadly-homing-missile/" rel="nofollow">this tutorial</a> to create a homing missile in Flash, except I'd like to adapt it to use HTML5 canvas. I'm struggling with getting the sprite to face the direction of the mouse; it rotates but doesn't always face the mouse! I've put up a fiddle so you can see what's going on.</p>
  
  <p><a href="http://jsfiddle.net/Mr4Tz/" rel="nofollow">http://jsfiddle.net/Mr4Tz/</a></p>
  
  <p>Any help would be greatly appreciated.</p>