Flowgorithm Turtle Graphics Symbols
In this tutorial, we will learn Flowgorithm Turtle Graphics symbols. There are three symbols associated with Turtle graphics in Flowgorithm. The new symbols are as follows:
- Forward Symbol
- Turn Symbol
- Home Symbol
Before you use the new symbols ensure that you have the latest 3.x version installed on your machine.
Go to the Help >> About menu option and check if you have the latest version installed on the machine.
Turtle Graphics Symbols
Let’s learn the new flowchart symbols. Right-click on the flow control line.
We can find the three new symbols under the Turtle graphics section.
|Turtle Symbol||Symbol Name||Purpose|
|Home||The Home symbol returns the turtle to its starting position and sets the Turtle angle to 90 degrees. The Home of the turtle is the center of the graphics window.|
|Turn||The Turn symbol will make the turtle turn its head to some degree. It changes the angle by rotating the Turtle left or right by a specified number of degrees.|
|Forward||The Forward symbol will make the turtle draw a line or move by a specific distance. By default, the turtle will draw a line with the Pen Down option checked, and the symbol changes to the Draw symbol.
If the pen is up the Turtle moves by the specified distance and the symbol changes to the Move symbol.
Sample Illustration of how turtle draws with the flowchart operations:
The XML representation of the flowchart symbols in the .fprg file.
|XML||Flowchart Turtle Symbols|
The XML tag for the turtle Home symbol. The turtle will return to the starting position on the graphic window.
|<turn expression=”90″ rotate=”right”/>
The XML tag for the turtle Turn symbol. The turtle rotates 90 degrees in the right direction.
|<forward expression=”100″ pen=”down”/>
The XML tag for the turtle Forward symbol. The turtle draws a line of 100 distance.
Flowchart Examples that use the symbols:
Draw Parallel Lines:
Draw Parallel Lines using Flowgorithm
Draw a Circle:
Draw Circle using Flowgorithm Turtle
Flowgorithm flowchart tutorials on this website:
For more information on the Flowgorithm tool, please visit the official website at: