Draw a smiley, exactly as described below. The background stays white.
| Part | Shape | Center | Radius | Line color | Line width | Fill color |
|---|---|---|---|---|---|---|
| Face | Full circle | (0, 0) |
100 |
black | 1 |
yellow |
| Left eye | Full circle | (-35, 30) |
10 |
black | 1 |
black |
| Right eye | Full circle | (35, 30) |
10 |
black | 1 |
black |
| Mouth | Horizontal line | (0, -30) |
— | black | 3 |
none |
The mouth is not filled. It is a straight horizontal line from (-50, -30) to (50, -30).
Hints
- The turtle starts at the bottom of a circle, so for a circle with center
(0, 0)and radius100you start at(0, -100).- Use
penup()andpendown()so you do not draw lines between the parts.- Change the pen width with
pensize().- For the mouth, start at
(-50, -30)and point right withsetheading(0). Then draw a line of length100.