ICM Week 10 Pixel Array Project with Jan

For our pixel array project Jan and I were inspired by two pieces of art, the Treachery of Images and John Baldesarri’s “I will not make anymore boring art.” We wanted to recreate the pipe image with text pixels that read “this is not an image.” Once we got that working we decided to decode the image in red. When you type the letters in the words, they reappear in their original pixels.

First we had to load all of the pixels of the original image. We wrote a for loop to go through each pixel and take the color value. We created an array with the letters that are in “this is not an image.” After that, we re-project the letters over the image with a condition. This condition is whether or not each text variable has been typed yet. This is found in the special p5 function keyTyped. We flip each variable every time it is pressed. If it has not been pressed it starts out red. Once it is pressed it displays the original color of the treachery of images.

Below is our keyTyped function and Letter class we created to store the information of each letter pixel.

Below is the link to the final sketch:


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s