next up previous
Next: With a corn-cob pipe... Up: Homework 4: Snowpeople! Previous: Make a snowperson

Draw the snowperson American Gothic

1.
Modify paintBox so that it draws two snowpeople side by side. One of them should be the same height as the window; the other should be 90% of the window height. (Snowpeople exhibit a sexual dimorphism in which females are roughly 10% smaller than males.)

Their widths should be proportional to their heights, and their bounding boxes should be adjacent (which means that the drawn ovals probably will not quite touch). The pair should be centered, meaning that there is the same amount of space on each side.



Allen B. Downey
1999-02-22