Lesson 4: Oh, the things you can draw!

Outline:

  1. Questions?
  2. Creating and using graphical objects
    • constructors
    • representing objects on paper
    • exploring graphics.py: Exercise 1
    • colors: use hexadecimal or use this program to see named colors
    • calling methods of objects
  3. Interactive graphics
  4. Aliasing

Explore after class:

  1. More practice with graphics.py: Exercise 3

What’s next

Upcoming events/assessments:

  • CS Bits and Bytes Thursday at 3:30pm in Anderson 329: Networking 101
  • Homework assignment 2 is all about graphics and due this Thursday!

What you should do now:

  • The readings (see below)
  • Try to complete Assignment 2 Part 1 today and draw a grid for Part 2, and ask questions on CampusWire or in student hours today or Thursday

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

  • Zelle sections 4.4-4.7.3 (pp. 95–120)
  • Zelle section 4.8 (pp. 122–123)
  • Project Overview