title: Calculating result vectors bouncing circles / balls
body: <p>I've been struggling with getting to the right vector values based on 2 bouncing circles/balls.  I know when they bounce; using Pythagoras, but then I'm lost.  I know I would probably have to use trigonometry cos/sin/tan2.</p>
  
  <p>The situation, explained in my image
   <a href="https://i.stack.imgur.com/LsPry.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LsPry.png" alt="image"></a><br>
  <sub>(source: <a href="http://www.microshift.net/help!.png" rel="nofollow noreferrer">microshift.net</a>)</sub>  </p>
  
  <p>Found a couple of examples online, but even with those, I can't figure it out!</p>
  
  <p>Made 2 HTML5 experiments over <a href="http://microshift.net" rel="nofollow noreferrer">here</a>.</p>
  
  <p>In one of the examples the 2nd/bigger ball is static, in the other example the larger ball can be moved by moving the mouse cursor.</p>
  
  <p>Can you please give an calculation example based on the known variables?</p>