Turtle Graphics Index
Setting up the turtle's world Moving the turtle
Turtle state Turtle size and speed
Turtle pen Patterns
Turtle text Turtle shapes
Turtle Properties Dots, filling, and shapes
Coordinates Customizing the graphics screen
Color commands
Setting up the turtle's world Top
CLEAN erases the graphics screen
CLEARSCREEN clears the graphics window
DRAW clears the graphics window and resets the turtles
FULLSCREEN maximizes the current Graphics window
SPLITSCREEN Restores the Listener and Graphics window layout
Moving the turtle Top
BACK move the turtle backwards
FORWARD moves the turtle forward
HOME moves the turtle back to [0 0]
LEFT turns the turtle left
RIGHT turns the turtle right
Turtle state Top
HEADING reports the heading of the turtle
SETHEADING sets the heading of a turtle
SHOWN? checks whether a turtle is visible
SHOWTURTLE (ST) shows a turtle
Turtle size and speed Top
SETSPEED Sets the speed in which turtle commands are executed
SETTURTLESIZE (SETTSIZE) sets the size of a turtle
SETVELOCITY Sets the independent movement speed of the turtle
SLOWTURTLE Slows the speed in which turtle commands are executed
SPEED Retrieves the speed in which turtle commands are executed
TURTLESIZE reports the size of a turtle
VELOCITY Retrieves the independent movement speed of the turtle
Turtle pen Top
PEN reports the pen mode
PENDOWN puts the pen down
PENDOWN? checks whether the pen is down
PENERASE the pen draws with the background color
PENREVERSE the pen inverts all colors
PENUP the pen moves up
SETPEN sets the pen characteristics
SETWIDTH sets the pen width
WIDTH reports the pen width
Patterns Top
BGPATTERN reports the background pattern
PATTERN reports the turtle's pattern
SETBGPATTERN sets the background pattern
SETPATTERN sets the turtle pattern
Turtle text Top
FONT reports the current turtle font
FONTS outputs a list of all available fonts
SETFONT sets the font of a turtle
TURTLETEXT (TT) lets the turtle print a text
Turtle shapes Top
EDITSHAPE edits a turtle shape
LOADSHAPE loads a turtle shape
LOCKSHAPE inhibits the turtle shape from turning
SAVESHAPE saves a turtle shape
SETSHAPE sets the turtle shape
SHAPE outputs a bitmap
STAMP draw a bitmap
UNLOCKSHAPE lets a turtle shape rotate according to the turtle's heading
Turtle properties Top
SETTURTLENAME (SETTNAME) defines a name for a turtle
TURTLENAMES output s a list of all known turtle names
TURTLES outputs a list of all turtles
Coordinates Top
DISTANCE reports the distance between the turtle and a location
GETXY reports the turtle's position
HIT? tests whether a dot or an object touches another object
POS reports the position of the turtle
SETPOS sets the position of a turtle
SETX sets the X coordinate of a turtle
SETXY sets the position of a turtle
SETY sets the Y coordinate of a turtle
TOWARDS reports the angle of a position compared to the turtle position
XCOR reports the X coordinate of the turtle's position
YCOR reports the Y coordinate of the turtle's position
Dots, filling, and shapes Top
DOT paints a dot
DOT? checks whether a dot is present at the turtle's position
DOTCOLOR reports the color of the dot underneath the turtle
FILL fills an area
STAMPOVAL draws an oval
STAMPRECT draws a rectangle
Customizing the graphics screen Top
EXTENT reports the coordinate extent of a turtle
FENCE fences all turtles inside the window
ORIGIN reports the origin of a turtle's coordinate system
SETEXTENT sets the coordinate system extent of a turtle
SETORIGIN sets the origin of the coordinate system of a turtle
WINDOW removes the boundary for turtle movements
WRAP lets the turtles wrap inside the window
Color commands Top
BACKGROUND outputs the background color
BASECOLOR coerces a color value to a basic Logo color number
COLORS outputs a list of available color names
PENCOLOR outputs the pen color
SETBG sets the background color
SETPC sets the pen color