Mike Koss

Fun with REPEAT

You can have fun with the REPEAT command just by changing three numbers!

CS REPEAT 20 [FD 100 RT 170]: the first number is how many lines to draw, the second how many steps in each line, the last how sharp to turn between lines

Which three numbers make your favorite drawing? Change them and click Run.

CS REPEAT 20 [FD 100 RT 170]

Try this! What does it draw?

CS REPEAT 100 [FD 10 RT REPCOUNT]