Home Schedule

Lab 10: Scary Good Drawings! (10 pts)

Setup

  1. Locate your "CS102" folder
  2. Download lab11.zip
  3. Extract the content of the zip file to lab11 in your CS102 folder
  4. Open "lab11.py" with Thonny
  5. READ THE COMMENTS

Now that we are writing functions, make sure your work today (and all future assignments) follows our class Python style guidelines and you include function comments. Be careful of your indentation!

Assignment

Halloween approaches and you need to plan your jack-o-lantern carvings and decorations! Using the drawing tools provided by media.py create a spooky image of a jack-o-lantern, haunted house, or some other fun Halloween scene! You must use a function from each of the media drawing function categories below at least once (makeStyle must be used with addTextWithStyle). You may also use other techniques that we have learned to provide an background image or add other effects to your image, but make sure your drawn image is clearly visible.

Lab Submission

For this lab you will upload your lab11.py code file.

Media Drawing Function Categories

NOTE: The color argument for all the above functions is optional. If no color is provided the color black will be used (in the case of makeEmptyPicture the default color is white)

Other Useful Media Functions