Games Projects Talks Blog About

p5.js image zoom example

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 >>

← Home