i made this a little while ago that illustrates collision detection for circles independent of their velocities:
http://lab.generalrelativity.org/circle_collision/

here's my post about it, where you can also find the source files:
http://blog.generalrelativity.org/?p=7