Activities/Turtle Art: Difference between revisions
| Line 208: | Line 208: | ||
* ycor: holds current y-coordinate value of the turtle (can be used in place of a number block) | * ycor: holds current y-coordinate value of the turtle (can be used in place of a number block) | ||
* set scale: sets the scale of images displayed with show block | * set scale: sets the scale of images displayed with show block | ||
* arc: move turtle along an arc | |||
* left: holds current x-coordinate value of the left edge of the screen (can be used in place of a number block) | * left: holds current x-coordinate value of the left edge of the screen (can be used in place of a number block) | ||
* top: holds current y-coordinate value of the top edge of the screen (can be used in place of a number block) | * top: holds current y-coordinate value of the top edge of the screen (can be used in place of a number block) | ||
* right: holds current x-coordinate value of the right edge of the screen (can be used in place of a number block) | * right: holds current x-coordinate value of the right edge of the screen (can be used in place of a number block) | ||
* bottom: holds current y-coordinate value of the bottom edge of the screen (can be used in place of a number block) | * bottom: holds current y-coordinate value of the bottom edge of the screen (can be used in place of a number block) | ||
[[Image:TApen.png]] | [[Image:TApen.png]] | ||
These blocks are used to control the attributes of the turtle's pen. | These blocks are used to control the attributes of the turtle's pen. | ||
* pen up: turtle will not draw when moved | |||
* pen down: turtle will draw when moved | |||
* set pen size: sets the width of the line drawn by the turtle | |||
* fill screen: fill the screen with a color/shade and reposition the turtle in the center of the screen | |||
* pen size: width of the line drawn by the turtle (can be used in place of a number block) | |||
* set text size: scales the text drawn by the show block (found on the Turtle palette) | |||
* set color: sets the pen color | |||
* set shade: sets the pen shade | |||
* text size: current text size (can be used in place of a number block) | |||
* color: current pen color (can be used in place of a number block) | |||
* share: current pen shade (can be used in place of a number block) | |||
[[Image:TAcolors.png]] | [[Image:TAcolors.png]] | ||