1

About twenty years ago, I came into contact with a software which can draw (e.g. a line) by typing on it (e.g. typing some code, then push "ENTER" (I am not sure about this part), a line will appear on the screen). I think there was no way to choose the color of the drawn line.

Now I want to look at this software again, but I did not remember the software name. Do anyone on this site have any idea what this software is?

To rephrase, I am asking for a software that draw (e.g. a possibly one-colored line) by typing on it (e.g. typing some code, then push "ENTER" (I am not sure about this part), a line will appear on the screen).

PS. Please inform me if the you think that this is not an appropriate question to ask here.

2
  • Please edit your question and rewrite it so that it asks for "software to do X", otherwise it is off topic. Read this for more information.
    – user416
    Sep 18, 2019 at 7:27
  • is gs with postscript?
    – s.ouchene
    Jan 25, 2020 at 13:24

1 Answer 1

3

This sounds like the Logo programming language.

The simple Logo drawing commands move the "turtle" (drawing pen) forward and backward and turn it right or left. The commands and their abbreviations are given below:

fd forward 
bk backward 
rt right 
lt left 
cs clearscreen

The commands

     fd 60 rt 120 fd 60 rt 120 fd 60 rt 120 

cause the turtle to draw a triangle, as you can see by trying them out - there is a free Logo in the browser site at http://logo.twentygototen.org/

enter image description here

2
  • 2
    Brilliant! You might want to mention that a similar capability resides in Python with the turtle graphics library: docs.python.org/3.3/library/turtle.html?highlight=turtle
    – Eric S
    Sep 18, 2019 at 13:33
  • You just did! Thanks for that :-) takes me back to about 1980 and an Apple ... was it a Lisa?
    – Mawg
    Sep 18, 2019 at 14:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.