p5.js image zoom example

p5.js image zoom example


2017-10-26

I created this little example to as part of a pull request I made to the p5.js library to add more parameters to the image() function. It shows the power of using all parameters of the drawImage() function in HTML5 by using a zoom rectangle to find hidden objects in a painting. Source code.

Live demo >>