Page 1 sur 1

Turtle application: from flowchart to source code

Message non luPosté: 03 Juil 2022, 16:21
de compsystems
Hello
There is an app called Flowgorithm http://www.flowgorithm.org/preview/index.html that allows you to code an algorithm using a flowchart.
In the latest version, it includes the preview version of line drawing and rotation via a turtle-style pixel management window.

Flowgorithm allows you to export any flowchart to a professional language like (C#, Java, JavaScript...), but Flowgorithm does not currently generate source code for turtle diagrams.

If you want to help translate the code, you are welcome, you can put the translations here and then I will send them to the author.

For example, the following pseudocode translates to Python as

pseudocode

Code: Tout sélectionner
Function Main
    Draw 50
    Turn right 45
    Draw 60
    Turn left 45
    Draw 56
    Send Turtle Home
End


Python
Code: Tout sélectionner
import turtle
draw = turtle.Turtle()
draw.forward(50)
draw.right(45)
draw.forward(60)
draw.left(45)
draw.forward(56)
draw.home()


List of languages to incorporate code translation, you can include some external library or custom methods.

    Ada 95
    Nim
    Swift
    Applescript
    Bash
    C#
    C++
    Fortran 2003
    Java
    JavaScript
    Lua
    Pascal
    Perl
    PHP
    Powershell
    Python
    QBasic
    Ruby
    Scala
    Transact-SQL
    Typescript
    VBA
    Visual Basic.NET
    Gaddis Pseudocode
    IBO Pseudocode
    Auto Pseudocode
    MATLAB
    Smalltalk


Image

Image

Re: Turtle application: from flowchart to source code

Message non luPosté: 26 Juil 2022, 01:11
de compsystems
There is an even more powerful application, used by Hispanic American teachers, it is called PseInt but it is available only in Spanish.
Great if a group of enthusiasts make it multilingual.
http://pseint.sourceforge.net/slide/pseint.html
Image

Re: Turtle application: from flowchart to source code

Message non luPosté: 29 Mar 2024, 07:36
de thomasmuller
compsystems a écrit:There is an even more powerful application, used by Hispanic American teachers, it is called PseInt but it is available only in Spanish.
Great if a group of enthusiasts make it multilingual.
http://pseint.sourceforge.net/slide/pseint.html
Image

can you tell me another one version in english?
thanks