next up previous
Next: Draw the snowperson American Up: Homework 4: Snowpeople! Previous: Use a bounding box

Make a snowperson

1.
Modify drawSnowperson so that it draws three ovals stacked on top of each other like a snowperson. The height and width of the snowperson should fill the bounding box, as in the figure on the quiz.

2.
Change the size of the Slate and run your program again. Again, the snowperson should adjust so that the snowperson always touches the top and bottom of the screen, and the three ovals touch, and the proportion of the three ovals stays the same.

3.
At this point, show your program to me so that I can make sure you understand the basic ideas behind this assignment. You should definitely not continue work on this assignment until I have seen your program.



Allen B. Downey
1999-09-29