2,561 bytes added
, 19:29, 17 March 2009
<noinclude>{{Translations | [[Activities/Turtle Art|english]] | [[Activities/Turtle Art/lang-es|español]] |}}</noinclude>
<noinclude>{{ GoogleTrans-en | es =show | bg =show | zh-CN =show | zh-TW =show | hr =show | cs =show | da =show | nl =show | fi =show | fr =show | de =show | el =show | hi =show | it =show | ja =show | ko =show | no =show | pl =show | pt =show | ro =show | ru =show | sv =show }}</noinclude>
===The Turtle Palette (green)===
====examples (1)====
[[Image:TA-forward-example.png]] [[Image:TA-back-example.png]] [[Image:TA-forward-right-example.png]] [[Image:TA-arc-example.png]] [[Image:TA-seth-example.png]] [[Image:TA-heading-example.png]] [[Image:TA-text-example.png]] [[Image:TA-image-example.png]]
====descriptions (1)====
{|
|-
|[[Image:TA-clean.png]]||Clean||clear the screen and reset the turtle to center, pointed up (pen down, bright red)
|-
|[[Image:TA-forward.png]]||Forward (number)||move turtle forward
|-
|[[Image:TA-back.png]]||Back (number)||move turtle backward
|-
|[[Image:TA-left.png]]||Left (angle in degrees)||turn turtle counterclockwise
|-
|[[Image:TA-right.png]]||Right (angle in degrees)||turn turtle clockwise
|-
|[[Image:TA-arc.png]]||Arc (angle in degrees,radius)||move turtle along an arc
|-
|[[Image:TA-setxy.png]]||Setyx (xcor, ycor)||move turtle to position (xcor, ycor) [(0, 0) is in the center of the screen.]
|-
|[[Image:TA-seth.png]]||Seth (heading)||set the heading of the turtle [0 is towards the top of the screen.]
|-
|[[Image:TA-text.png]]||Text (size)||draw text next to the turtle
|-
|[[Image:TA-image.png]]||Image||draw image (click on the Journal icon to search for an image from the Journal
|-
|[[Image:TA-xcoor.png]]||X coordinate||holds current x-coordinate value of the turtle (can be used in place of a number block)
|-
|[[Image:TA-ycoor.png]]||Y coordinate||holds current y-coordinate value of the turtle (can be used in place of a number block)
|-
|[[Image:TA-heading.png]]||Heading||holds current heading value of the turtle (can be used in place of a number block)
|}
Turtle state values (can plug into a parameter):
* X, Y – Zeros for each are at center screen. Negative values are left and down; positive values are right and up.
* Heading – Zero is pointed up. Heading is in degrees clockwise.
* Angles are degrees from 0 to 360 (for larger values and smaller values all multiples of 360 are subtracted or added to get the value into the range 0..360).
::Examples: 90 means a right angle (90 degrees), clockwise; –30 means a 30-degree angle, counterclockwise