Tymless Tutorial: Drawing



   
 

How Simple Can It Be?

 
turtles >
 

Drawing

Control

Data

Reference

 

Here is a fully working Tymless program that contains only one character:

|

The program draws a line from one side of the screen to the other using the draw command |. Not all that impressive, perhaps, but there aren't many programming languages that can even do so much with just one character!

If you thought that was a bit too simple here is a program that uses two characters:

{}

This draws a grey square with a black border using the regular polygon command {}.

Traditionally, programmers like to get their computer to say "hello world". This is one way to do it in Tymless:

note "hello world"

As you can see, it is very easy to write a Tymless program!

   
 
 
turtles >