Week 7: Objects and Graphics
Week 7 Goals
-
Learn about objects and classes
-
Learn about object constructors and methods
-
Use the graphics library to practice using objects and methods
-
Learn how to use the sleep function to create simple animations
Week 7 Code
-
objects.py: creating and using objects -
circle_color.py: working with colors -
bullseye.py: make a bullseye pattern -
bubbles.py: create circles where the user clicks -
animate.py: walk through how to create simple animations -
follow.py: more activities to practice using graphics
Graphics References
There are lots of notes already provided for the graphics library: