Project 2 A Shape Collection

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0


For the extension part of the project, I used the fill command and the pen color command to add color to my drawings.  I also added additional parameters to my project, For example I used (x, y, length, width, color, fill) for additional parameters when defining the shape that I used for the inner portion of my football field.  I also used (x, y, length, width, color) when defining the outer part of my football field.

In this lab, I learned that you can create complex and detailed drawings by using simple shapes.  More specifically, I learned how to add parameters, color, and define different functions while still keeping my main code relatively clean. I also learned how to use turtle.setheading, which was very helpful when trying to figure out coordinates and the orientation of the turtle.