User Tools

Site Tools


groimp-platform:turtle_commands

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
groimp-platform:turtle_commands [2024/04/30 15:37] timObgroimp-platform:turtle_commands [2024/11/13 16:32] (current) tim
Line 1: Line 1:
-In turtle geometry a sequence of commands can be used to describe a structure. These commands are processed by a "turtle" and change either the state or the position of the turtle. By doing so the turtle can add cylinders to the scene.  
- 
 | Command | Description |  | Command | Description | 
 | F(x) | creates a Cylinder of the length x|  | F(x) | creates a Cylinder of the length x| 
Line 7: 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,y,z) | move the turtle state by x y z | | Translate(x,y,z) | move the turtle state by x y z |
-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,y,z)| rotate all axis by the given degrees | | Rotate(x,y,z)| rotate all axis by the given degrees |
groimp-platform/turtle_commands.1714484228.txt.gz · Last modified: 2024/04/30 15:37 by timOb