• CS 111.03 - Winter 2020
  • Announcements
  • Schedule
  • Assignments
  • Project
  • About

Lesson 13: Painting a picture

3 February, 2020

Outline:

  1. Mini-quiz
  2. Representing color in a computer
    • RGB
    • Exercise 1
  3. Working with images
    • Image objects in graphics.py
    • getting a pixel’s color
    • Exercise 2
    • creating a random image
    • Exercise 3
  4. Color models
    • additive versus subtractive color
    • how humans see color
    • how computers output color
    • Exercise 4

Reading assignment (to be completed by the next class):

  • Zelle sections 4.8.4-4.8.5 (pp. 120-121)