| $limit, $l |
the recursion limit. Within user-defined functions
this is read-only. |
| $depth,
$d |
the current recursion depth |
| $c |
the colour used when filling polygons |
| $r |
the red part of $c |
| $g |
the green part of $c |
| $b |
the blue part of $c |
| $h |
the hue part of $c |
| $s |
the saturation part of $c |
| $v |
the brightness part of $c |
| $here |
the turtle location |
| $! |
the turtle direction |
| $; |
the walk-distance |
| $> |
the angle-of-turn |
| $| |
the border thickness (minimum zero) |
| $fill, $f |
whether polygons should be filled or left empty |
| $~ |
whether right and left are swapped |
| $x |
the x-coordinate of the turtle location |
| $y |
the y-cordinate of the turtle location |
| ${} |
the number of sides for regular polygons |
| $pi |
the value of pi |
| $phi |
the value of phi (the golden ratio) = (sqrt(5)+1)/2 |
| $lastshape |
the most recently created shape |
| $shapes |
the entire list of shapes. Transformations applied to
this variable will affect all visible shapes. Alternatively individual
shapes can be addressed by subscript, in the sequence they were created,
e.g. $shapes_3. |
| $fontsize |
the font size for annotations |
| $fontcolour |
the font colour for annotations |
| $fontname |
the font name for annotations |
| $# |
the loop counter. This can be extended with more hashes
# to find the value of loops outside
the current nested loop, e.g. $##.
Also by adding more dollars $ you can find the final count of loops
that have just terminated, e.g. $$# |