Your solutions to the following problems should be placed in a folder named "lab3". When you have finished the assignment, copy this folder and its contents to your turn-in directory.
The Dutch painter Piet Mondrian (1872-1944) was known primarily for his geometric style of painting (which he termed "neoplasticism"). In his paintings, Mondrian reduced his subjects to essentials of form and color, creating compositions of adjoining rectangles, often using only the "artist primaries" of red, yellow, and blue for the painting's color scheme. Other color schemes occur in some of his works, as well, but the geometric character of his works was consistent throughout most of his career.
Some of his works can be seen at these sites:
Your job here is to write a program that produces an image in the neoplasticist style. You should satisfy these constraints:
The choice of colors is yours (though pastels would make the De Stijl adherents sad), as is the number and arrangement of rectangular forms.
Save your sketch in the lab3 folder with the name "prob1".
Write a program that produces a sketch consisting of five or more colorful circles on a white background, along the following lines:
Save your sketch in the lab3 folder with the name "prob2".
Make a folder in your turn in directory named "lab3". Copy both of your solutions in to this folder. Consult the Linux tutorial from Lab #0 if you need a reminder of the details.
Your code must be syntactically correct. Any solution that contains a syntax error anywhere (and hence crashes when you hit the "play" button") will receive no credit.
If you run into any trouble here, please ask me or one of the TAs for help.
Naturally, your code must be behaviorally correct, though partial credit is always given for partial solutions.