Lesson 15: A thousand words

Outline:

  1. Questions?
  2. Color models
  3. Working with images
    • Image objects in graphics.py
    • getting a pixel’s color with image.getPixel: Exercise 2
  4. Nested for loops

Explore after class:

  1. Creating an image made of random colors
  2. Additive versus subtractive color

What’s next

Upcoming events/assessments:

  • Your first Project Code deliverable is due next Thursday at 10pm

What you should do now:

  • The readings (see below)
  • Submit Assignment 5 by 10pm today if you’re using a token
  • Keep working on your project, incrementally adding functionality
  • Rest and enjoy Mid-Term Break!

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

  • Zelle sections 4.7.4–4.7.5 (pp. 120–121)