(turtle-new
image)
image.
(turtle-clone
turtle)
turtle
(same position, direction, color, brush, etc.).
(turtle-forward!
turtle
distance)
turtle forward by the specified distance.
(turtle-teleport!
turtle
col
row)
turtle to
(col,row).
Do not draw along the way.
(turtle-face!
turtle
angle)
turtle face the direction specified by
angle (clockwise
from right).
(turtle-turn!
turtle
angle)
turtle clockwise by
angle degrees.
(turtle-down!
turtle)
turtle's brush down. When the turtle
moves forward, it draws with the brush.
(turtle-up!
turtle)
turtle's brush. When
turtle moves forward, it
will not draw.
(turtle-set-brush!
turtle
brush)
turtle draws with.
(turtle-set-color!
turtle
color)
turtle draws.
(turtle-world
turtle)
turtle
resides.
Copyright © 2007-2012 Janet Davis, Matthew Kluber, Samuel A. Rebelsky, and Jerod Weinman. (Selected materials copyright by John David Stone and Henry Walker and used by permission.)
This material is based upon work partially supported by the National Science Foundation under Grant No. CCLI-0633090. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.
This work is licensed under a
Creative Commons Attribution-NonCommercial 2.5 License
.