TestingDocs.com
Software Testing website
  • Automation
    • Selenium
    • JBehave Framework
  • Tutorials
    • MySQL Tutorials
    • Testlink
    • Maven
    • Git
  • IDEs
    • IntelliJ IDEA
    • Eclipse
  • Flowcharts
    • Flowgorithm
    • Raptor
  • About

Flowgorithm

Flowgorithm Turtle Graphics Symbols

Overview

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:

 

Turtle Operations Flowgorithm Illustration

XML Syntax

The XML representation of the flowchart symbols in the .fprg file.

XML Flowchart Turtle Symbols
<home/>

The XML tag for the turtle Home symbol. The turtle will return to the starting position on the graphic window.

flowgorithm_home_xml_symbol
<turn expression=”90″ rotate=”right”/>

The XML tag for the turtle Turn symbol. The turtle rotates 90 degrees in the right direction.

flowgorithm_turn_symbol_xml_right
<forward expression=”100″ pen=”down”/>

The XML tag for the turtle Forward symbol. The turtle draws a line of 100 distance.

flowgorithm_draw_xml_symbol

Examples

Flowchart Examples that use the symbols:

Draw Parallel Lines:

Draw Parallel Lines using Flowgorithm

Draw a Circle:

Draw Circle using Flowgorithm Turtle

—

Flowgorithm Tutorials

Flowgorithm flowchart tutorials on this website:

https://www.testingdocs.com/flowgorithm-flowchart-tutorial/

Flowgorithm Website

For more information on the Flowgorithm tool, please visit the official website at:

http://flowgorithm.org/

Related Posts

Print Triangle Pattern Flowchart

Flowgorithm /

Print Triangle Pattern Flowchart

Flowgorithm Breakpoint Symbol

Flowgorithm /

Flowgorithm Conditional Breakpoint Statement

File Read Declare Variables

Flowgorithm /

Flowgorithm Read Numbers from File Example

File Search Input File Flowgorithm

Flowgorithm /

Search Text File Flowchart Example

Draw Circle Flowgorithm Flowchart

Flowgorithm /

Draw Circle using Flowgorithm Turtle

‹ Draw Circle using Flowgorithm Turtle› Search Text File Flowchart Example

Recent Posts

  • MS Access Data Types
  • Install RAPTOR Avalonia on CentOS
  • Download RAPTOR Avalonia Edition on Windows
  • npm doctor command
  • Build & Run CLion Project
  • Create New CLion C Project on Windows
  • Configure CLion Toolchains on Windows
  • Launch CLion IDE on Windows
  • Activate CLion IDE
  • CLion IDE for C/C++ Development

Back to Top

Links

  • Contact
  • Privacy Policy
  • Cookie Policy

www.TestingDocs.com

Go to mobile version