Javascript for Zooming and Panning in a Canvas

In 2012, I had a need for a simple zooming and panning capability for an animation project in Javascript. With much help from examples on the net, I came up with the solution illustrated at here. There must be better solutions available now. Here is zoom.js: /********************************************************************** * zoom.js * * Zooming and panning by … Read more