This week we learned about Repeat Commands. They let us repeat a number of commands more than once. Like: repeat 4 [fd 100 rt 90] This command makes a 12 sided polygon ---> repeat 12 [fd 100 rt 30]
This command makes 1/4 of a circle ---> repeat 360 [fd 1 rt .25]
One challenge I came across though this week was on one of our assignments. We had to make a star with only one repeat command. I eventually got it and completed the assignment.
Well that's all for now. Until next time...
Suck it Alex Trebek!!!
No comments:
Post a Comment