Exercises

Your instructor will assign one or more of the following problems. Submit all appropriate files for grading, including code files, screen captures, supplemental files (e.g., image files), and text files.

  1. Write a program that draws a scalable flag of your choice/creation. Here are some possibilities:

    For this assignment, do not use bitmap image-based flags.

    If you need inspiration, here are some examples of student work from the past: Hall of Fame (Yes, all of these flags are scalable!).

  2. Write a program that draws a scalable smiley face.

  3. Write a program that draws a scalable line based on values of slope and y-intercept. The canvas size, slope and y-intercept should be constants. Make use of color.

  4. Write a program that annotates any image with scalable golden triangles (see http://photoinf.com/Golden_Mean/Eugene_Ilchenko/GoldenSection.html)

Checking In

Submit all appropriate files for grading, including code files, screen captures, supplemental files (e.g., image files), and text files. We will grade this exercise according to the following criteria:

If you work in teams for this homework assignment, be sure to submit all team members’ names in the code documentation.