This homework is due on February 3, 2011. and must be submitted as a pde file to the UNCA moodle activity HW 2.
Quilts are beautiful, but they require a great deal of skill and time to create. In this assignment, you'll find that you already have the programming skills needed to create your own electric quilt using Processing.
Read pages 51 to 68 of the textbook and then write a program that repeats a pattern of primitive shapes such as rectangles, ellipses, lines, and triangles to create an electric quilt that fills your canvas. Use a screen size of 400×400.
Keep the pattern simple! Focus on the loops.
Remember to comment your code and to submit only your source code.
Here's a fairly simple quilt that I generated along with a description of the steps that I went through in developing the program that created it.
Grades will be based on the following criteria.
10% | creativity and aesthetics |
10% | image size |
20% | use of graphical primitives |
50% | use of loops |
10% | documentation of code |