Get turtle's icon

turtleimg
(turtleimg heading)

ti
(ti heading)

Returns a turtle's icon as an image. By default the icon for heading 0 is returned (0 is the positive Y axis direction). Optional argument allows to select any other heading.

Example:

pu
repeat 36 [fd 10 rt 10 stamp (turtleimg 10 * repcount)]

Output: a drawing in the graphics window.

See also:

Table of Content