
I created a simple logo program which uses the super procedure whereby different procedures are combined into one super procedure to create an almost 3 dimensional Donut.
to circle
repeat 360 [fd 2 rt 1]
End
to donut
repeat 120 [spiral]
end
to spiral
circle
pu
fd 30 rt 25
circle
pd
circle
end
No comments:
Post a Comment