Or search by topic
|Consider the following procedure which uses two variables:
(Warning - you may have to press HALT to stop this procedure.)
TO LOP :X :Y
LOP :Y :X + :Y
What do you think is happening this time?
Try 'chasing' through the procedure the values: x = 1 and y = 1.
No longer surprised!
Why do you think it goes on and on...?
Yes it keeps starting itself again, but with different variables,
moving on in the sequence by adding the last two variables.
Why not experiment further changing the fourth line?
LOP :Y :X +:Y*2
LOP :Y :X - :Y*2
LOP :Y :X * 2
LOP :Y * 2 :X + :Y
Etc. Etc. Etc....
A Short introduction to using Logo. This is the first in a twelve part series.
Can you use LOGO to create this star pattern made from squares. Only basic LOGO knowledge needed.
Using LOGO, can you construct elegant procedures that will draw this family of 'floor coverings'?