Using the turtle drawing features, create an picture that contains
a set of concentric shapes. The shapes can be
any that you want (squares, octagons, triangles, etc).
For this lab, each smaller version of the shape must
be completely inside of the next larger size of the shape.
An example of this is using a square as follows:
or
or the following using a hexagon
The above have the center of each shape in the same place
while the following two do not have the center in the same
place.
or
Your set should have the shape repeated at least 8 times with
the sides of each shape being slightly longer that the one
closer to the center. The loop variable that keep track
of how many shapes to draw was used to calculate the length
of each side.
The key to this lab is to move the
turtle to the proper location (with the pen UP!) after
one shape is drawn and before the next shape is drawn.
For the shapes shown above, the starting/ending point of
each shape is the lower left corner. The turtle moves
left by a certain amount and then down by that same amount
to get in position to draw the next shapes. Another approach
would be to draw the shape starting from the center of a line
for one of its sides. This approach would make the drawing
of the shape harder, but then you only need to have the turtle
move over to the side between the drawing of each shape.