Here we introduce the PImage class for manipulating and rendering images. We develop a rudimentary sketch that allows the user to apply color changes to an image through a pixel-by-pixel algorithm. We see that image data closely resembles 2D arrays. We also introduce the keyPressed() function to allow keyboard input in sketches.

Loading more stuff…

Hmm…it looks like things are taking a while to load. Try again?

Loading videos…