Lesson 11: Painting a picture
Outline:
- Representing color in a computer
- RGB
- Exercise 1
- Working with images
Imageobjects ingraphics.py- getting a pixel’s color with
image.getPixel - modifying an image with
image.setPixel
Explore after class:
- Working with images
- getting the color at multiple points: Exercise 2
- generating a random image Exercise 3
- Color models
- how computers output color
- converting an image to grayscale: Exercise 4
Reading assignment (to be completed by the next class):
- Zelle sections 4.8.4-4.8.5 (pp. 120-121)