Step 3 -- Draw The Figure
It will be necessary to draw the inch worm in different colors, so the color becomes a parameter -- Double
Notice that inWorm is passed an array of x,y segments but segment is passed just a single position
Previous slide
Next slide
Back to first slide
View graphic version