groimp-platform:turtle_commands
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
groimp-platform:turtle_commands [2024/04/30 15:29] – timOb | groimp-platform:turtle_commands [2024/11/13 16:32] (current) – tim | ||
---|---|---|---|
Line 5: | Line 5: | ||
| M(x) | moves the turtle state for a distance x without creating an object | | | M(x) | moves the turtle state for a distance x without creating an object | | ||
| Translate(x, | | Translate(x, | ||
- | | RU(a) | rotate a degrees around the local up/x axis | | + | | RL(a) | rotate a degrees around the local left/x axis | |
- | | RL(a) | rotate a degrees around the local left/y axis | | + | | RU(a) | rotate a degrees around the local up/y axis | |
| RH(a) | rotate a degrees around the local head/z axis | | | RH(a) | rotate a degrees around the local head/z axis | | ||
| Rotate(x, | | Rotate(x, | ||
Line 20: | Line 20: | ||
| RN(n,e) |Position-controlled tropism to node n with magnitude e | | | RN(n,e) |Position-controlled tropism to node n with magnitude e | | ||
| P(x) | sets the color to the EGA state x | | | P(x) | sets the color to the EGA state x | | ||
+ | | [ | Start branching and saving the current turtle state | | ||
+ | | ] | End a branch and return to the last saved turtle state| | ||
| | **More turtle state specific commands:** | | | | **More turtle state specific commands:** | | ||
| L(x) | Sets the length of the turtle state to x | | | L(x) | Sets the length of the turtle state to x | |
groimp-platform/turtle_commands.1714483749.txt.gz · Last modified: 2024/04/30 15:29 by timOb