Pan and Zoom controller for Processing (P5).
Allows to move and scale a drawing using mouse and keyboard. Mouse wheel changes the scale, mouse drag or keyboard arrows change the panning (movement). The zoom is centered at the current mouse position. The scaling is exponential.
- Author: Bohumir Zamecnik
- License: MIT
- Git: https://github.com/bzamecnik/pan-zoom-processing
Inspired by (but totally rewritten):
Pan And Zoom" by Dan Thompson, licensed under Creative Commons Attribution-Share Alike 3.0 and GNU GPL license.