In the previous episode we used the pixels array for the first time. We wrote random shades of gray to every pixel. The result was an animation that looked like an analog TV that lost the signal.
This time, instead of replacing every single pixel with random values, we read the red, green and blue values of each pixel, and then modify those values. By doing this we can tint the image or convert it into a black and white image.