It's a simple library for pinch to zoom an image based on a canvas element for smooth rendering. Updated to work with clientX/Y instead of pageX/Y to prevent scroll issues with position:fixed.
Repository from Github https://github.comfrancescortiz/pinch-zoom-canvas