Jump to content

Turtle Encoder


GrateBear

Recommended Posts

Since I cannot find a turtle-decoder, my guess is that it is a Logo-interpreter. Logo is a programming language that uses the concept of a steerable 'turtle' to write programs. see:  https://en.wikipedia.org/wiki/Turtle_graphics and https://en.wikipedia.org/wiki/Logo_(programming_language)

What you call a turtle-decoder is than in fact an interpreter for the turtle-language. This also means that there is no such thing as a turtle-encoder, because you have to write a program that draws characters or numbers. Ans like any programming language that can be done in a lot of different ways.

Can you give a link to the 'turtle-decoder' ?

  • Helpful 2
Link to comment
12 hours ago, GrateBear said:

Yes, it is a logo-interpreter:     https://www.calormen.com/jslogo/

Can't figure out how to go the other way, ie, encode something.

Since it is a programming language, you have to make a program to draw the numbers you want. That  sounds complicated but it is relatively simple.

You have a few 'commands' that move the turtle, turn the turtle, and raise or lower the pen.

As Logo is designed to teach children to program, it should be possible to learn/write it yourself

clearscreen
forward 100
penup
right 90
forward 100
right 90
pendown
forward 100

With this simple program you write '11'

Edited by Kalkendotters
  • Helpful 2
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...