Step 3 -- Draw The Figure
v 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