Turtle Graphics - Drawing Graphic Objects
[Index] [<< Previous section: Drawing Text]
go image_code rotation
- Description: draws a graphic object with the turtle at the center. The turtle is not moving while drawing the object.
If the rotation parameter is set to true, the object is rotated by the turtle's heading.
- Note: see the current graphic objects list (and codes for the image_code parameter) by pressing the new button on the upper left of the editor:
- Example:
- http://www.logointerpreter.com/view-program.php?user=Vlad-Tudor&program=Flying%20witch
- Note: see the current graphic objects list (and codes for the image_code parameter) by pressing the new button on the upper left of the editor:
go2 image_code rotation scale alpha
- Description: draws a graphic object with the turtle at the center. The turtle is not moving while drawing the object.
If the rotation parameter is set to true, the object is rotated by the turtle's heading.
The
scale
andalpha
parameters can be set between 0 and 100.- Note: see the current graphic objects list (and codes for the image_code parameter) by pressing the new button on the upper left of the editor.
- Example:
- http://www.logointerpreter.com/view-program.php?user=Vlad-Tudor&program=go2+procedure+scale+alpha
- Note: see the current graphic objects list (and codes for the image_code parameter) by pressing the new button on the upper left of the editor.
stamp
- Description: Using this procedure you can stamp a copy of the turtle shape onto the canvas at the current turtle position.
- Example:
- http://www.logointerpreter.com/view-program.php?user=Vlad-Tudor&program=Stamp
- Example:
flag "iso_country_code
- Description: the "flag" procedure draws a small national flag onto the canvas.
- Use it with the ISO country code as the parameter. The list of ISO 3166-1 codes (Alpha-2) can be found [here].
- The flag's dimensions: 16 x 11 pixels.
- Example:
- http://www.logointerpreter.com/view-program.php?user=Vlad-Tudor&program=Flags
- Use it with the ISO country code as the parameter. The list of ISO 3166-1 codes (Alpha-2) can be found [here].
[Index] [<< Previous section: Drawing Text]