π
<-
Chat plein-écran
[^]

Turtle application: from flowchart to source code

Discussions diverses, débats, sondages, parler de tout et de rien... mais en restant plutôt sérieux.

Turtle application: from flowchart to source code

Message non lude compsystems » 03 Juil 2022, 16:21

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
Avatar de l’utilisateur
compsystems
Niveau 9: IC (Compteur Infatigable)
Niveau 9: IC (Compteur Infatigable)
Prochain niv.: 40.2%
 
Messages: 256
Inscription: 30 Mai 2011, 13:44
Genre: Homme
Calculatrice(s):
MyCalcs profile

Re: Turtle application: from flowchart to source code

Message non lude compsystems » 26 Juil 2022, 01:11

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
Avatar de l’utilisateur
compsystems
Niveau 9: IC (Compteur Infatigable)
Niveau 9: IC (Compteur Infatigable)
Prochain niv.: 40.2%
 
Messages: 256
Inscription: 30 Mai 2011, 13:44
Genre: Homme
Calculatrice(s):
MyCalcs profile


Retourner vers Autres discussions

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 5 invités

-
Rechercher
-
Social TI-Planet
-
Sujets à la une
Comparaisons des meilleurs prix pour acheter sa calculatrice !
Aidez la communauté à documenter les révisions matérielles en listant vos calculatrices graphiques !
Phi NumWorks jailbreak
123
-
Faire un don / Premium
Pour plus de concours, de lots, de tests, nous aider à payer le serveur et les domaines...
Faire un don
Découvrez les avantages d'un compte donateur !
JoinRejoignez the donors and/or premium!les donateurs et/ou premium !


Partenaires et pub
Notre partenaire Jarrety Calculatrices à acheter chez Calcuso
-
Stats.
892 utilisateurs:
>866 invités
>21 membres
>5 robots
Record simultané (sur 6 mois):
6892 utilisateurs (le 07/06/2017)
-
Autres sites intéressants
Texas Instruments Education
Global | France
 (English / Français)
Banque de programmes TI
ticalc.org
 (English)
La communauté TI-82
tout82.free.fr
 (Français)