So what we want is a construct where we can write a few lines of code that capture some change we want to make and then let the computer take care of the bookkeeping of running those lines of code again and again once for each pixel on the image. 