title: HTML5 canvas distance and move object
body: <p>I'm have distance function who return: <code>distance</code> something like: 15, 10, etc.
  Here function:</p>
  
  <pre><code>var Distance = function( other ) {
  var xd = other.x - this.x;
  var yd = other.y - this.y;
  return Math.sqrt( xd * xd + yd * yd );
  };
  </code></pre>
  
  <p>and have Bullet function who have position in <code>this.x = 10; this.y = 10;</code></p>
  
  <p>But how to move my Bullet with distance? Something like in Tower Defence games when Towers shoots to enemys?</p>
  
  <p>Thanks and sorry for my bad English language.</p>