Pan and Zoom controller for Processing (P5)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
pan_zoom
.gitignore
LICENSE
README.md

README.md

pan-zoom-processing

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.

Inspired by (but totally rewritten):

Pan And Zoom" by Dan Thompson, licensed under Creative Commons Attribution-Share Alike 3.0 and GNU GPL license.