Set turtle's radius
setradius expression
setr expression
Set turtle's radius to the value of expression. Radius is used in collisions with the graphics window edges and collisions with
other turtles.
Example
bounce
rt 30
repeat 10 [
setr radius + 10
print radius
setpc 100 * repcount
fd 4000
]
Output:
20
30
40
50
60
70
80
90
100
110
See also:
Table of Content