A lean JavaScript library with easy-to-use pan & zoom for canvas elements on both mobile and desktop platforms.
Here's an example of a canvas showing an image that you can pan & zoom freely:
And here's the Mandelbrot set rendered on the go, as pan & zoom transformations happen:
Caparzo is also open source.