HTML5 Canvas Zoom and Pan Image Pure JavaScript Zoom and Pan, taken from http://phrogz.net/tmp/canvas_zoom_to_cursor.html A Pen by TechSlides on CodePen. License.