Project 2: Photo Filters

In this project, you'll be applying filters to photos, like inversion, flipping, and grayscale- and you'll be writing all those filters yourself!

A photo can be represented in computer memory as a nested list of pixels, so playing with photos is a great way to practice your newfound list knowledge. And, of course, in order to process a nested list, you'll need nested loops, so photo filters involve lots of nested loops. You'll also learn a bit about representing pixels in the RGB color space, if you've never played with RGB before.

One of the reasons that I love playing with graphics when I'm programming is that even the bugs are fun - weird colors, all black images, all sorts of shenanigans. So get ready for some colorful bugs and a lot of learning! :)

Instructions

Once again, you'll be using a Python notebook on Google CoLab to develop this project.

To get started, make a copy of the Project 2 notebook for yourself. The rest of the instructions are in the notebook.

➡️ Next unit: Strings & dictionaries