Functional Problem Solving (CSC 151 2014S) : Reference
Primary: [Front Door] [Schedule] - [Academic Honesty] [Disabilities] [Email] - [FAQ] [Teaching & Learning] [Grading] [Rubric] - [Calendar]
Current: [Assignment] [EBoard] [Lab] [Outline] [Partners] [Reading]
Sections: [Assignments] [EBoards] [Examples] [Handouts] [Labs] [Outlines] [Partners] [Readings]
Reference: [Setup] - [Functions A-Z] [Functions By Topic] - [Racket] [Scheme Report (R5RS)] [R6RS] [TSPL4]
Related Courses: [Davis (2013F)] [Rebelsky (2010S)] [Rebelsky (2013F)] [Weinman (2012F)] [Weinman (2014S)]
Misc: [SamR] [Glimmer Labs] [CS@Grinnell] [Grinnell] [Issue Tracker (Course)]
(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-brush!
turtle
brush
size)
turtle draws with. The brush must
be one of the resizable brushes.
(turtle-set-color!
turtle
color)
turtle draws.
(turtle-angle
turtle)
(turtle-point
turtle)
(turtle-row
turtle)
(turtle-world
turtle)
turtle
resides.
(turtle-brush
turtle)
(turtle-brush-size
turtle)
(turtle-color
turtle)
(turtle-show!
turtle
angle)
turtle visible, so that it is
displayed after each call to
turtle-forward!,
turtle-turn!,
turtle-teleport!, and
turtle-face!.
Visible turtles are generally much slower.
Useful primarily for novices and for generating interesting
patterns.
(turtle-hide!
turtle
angle)
turtle invisible, so that it is
not displayed. (That is, undoes turtle-show!.)
Primary: [Front Door] [Schedule] - [Academic Honesty] [Disabilities] [Email] - [FAQ] [Teaching & Learning] [Grading] [Rubric] - [Calendar]
Current: [Assignment] [EBoard] [Lab] [Outline] [Partners] [Reading]
Sections: [Assignments] [EBoards] [Examples] [Handouts] [Labs] [Outlines] [Partners] [Readings]
Reference: [Setup] - [Functions A-Z] [Functions By Topic] - [Racket] [Scheme Report (R5RS)] [R6RS] [TSPL4]
Related Courses: [Davis (2013F)] [Rebelsky (2010S)] [Rebelsky (2013F)] [Weinman (2012F)] [Weinman (2014S)]
Misc: [SamR] [Glimmer Labs] [CS@Grinnell] [Grinnell] [Issue Tracker (Course)]
Samuel A. Rebelsky, rebelsky@grinnell.edu
Copyright (c) 2007-2014 Janet Davis, Samuel A. Rebelsky, and Jerod Weinman. (Selected materials are copyright by John David Stone or Henry Walker and are used with permission.)

This work is licensed under a Creative Commons Attribution 3.0 Unported License. To view a copy of this
license, visit http://creativecommons.org/licenses/by-nc/3.0/
or send a letter to Creative Commons, 543 Howard Street, 5th Floor,
San Francisco, California, 94105, USA.