https://github.com/jeffThompson/CollisionDetection
JavaScript400
last year
A book and examples on collision detection