This is an example of collision Detection with Javascript . The animation rests at the bottom, and shows the coordinates as each image is drawn. When the image intercepts the boundaries of the canvas, ...