Next: Make Mrs. Snowperson pregnant
Up: Assignment 4: Snowpeople!
Previous: Send the snowpeople to
- 1.
- Write a method called paintFace that takes the same arguments
as paintSnowperson, and that draws a simple face within the given
bounding box. Two eyes will suffice, but you can get as elaborate
as you like.
As always, the proportions of the face should be the same,
regardless of how big the bounding box is.
- 2.
- Modify the paintSnowperson method so that it invokes paintFace in
order to fill in the top oval (the face).
Allen B. Downey
2/25/1998