Due: Tuesday 09/17 10:00am

Submission name: w04_function

Make a logo method

For this assignment, you can either use the logo you made for Work 03, or make a different one.

  1. Turn the logo drawing algorithm into a method that has parameters for the (x, y) coordinates of the center.
  2. Write a setup method that will:
    • Set the screen size to 500x500.
    • Set a background color (to something of your choosing).
    • Call the logo drawing method from step 1 4 times, placing your logo on the screen at locations of your choosing.

If you want to try something a little harder, add a parameter to your method to represent the overall size of your logo (the dimensions of a square that would contain your logo). The method should then scale the drawing functions in order to make your logo fit within the specified size.