Objective 2: using a procedure within a procedure and a loop, make a flower out of a squiggle. Like this:
to squiggle
... your code for a squiggle here ...
end
to flower
repeat X [
squiggle
rt Y
... or lt Y ...
... optional fd N or bk N ...
... or some combination of these ...
]
end
Certain choices for X and Y will guarantee a wonderful rotational symmetry. But what are they? Figure that out.
Objective 3: a word flower. I will show you a simple example.
Objective 5: to enhance our drawings with color that is changed by the program.
No comments:
Post a Comment