| SETTURTLESIZE (SETTS) | |
| Syntax | SETTURTLESIZE number SETTSIZE number SETTS number |
| Explanation | SETTURTLESIZE sets the size of the
turtle. The input number must be in the range of 0 to 50,
where 0 indicates an invisible turtle, and 50 shows the
largest possible turtle. As the size of the turtle
increases, its shape becomes more jagged and it moves
more slowly. The command TURTLESIZE
reports the size of the current turtle. |
| Examples | SETTURTLESIZE 2 TURTLESIZE Result: 2 (The following procedure shows a turtle growing and shrinking as it turns.) TO GROW.AND.SHRINK :SIZE
IF :SIZE > 10 THEN STOP
RT 90
SETTS :SIZE
WAIT 50 - :SIZE
GROW.AND.SHRINK :SIZE + 1
SETTS :SIZE
LT 90
WAIT 50 - :SIZE
END
|