Your browser does not support the canvas element - sorry!

LOGO

Logo is an educational programming language, widely known for its use of 'turtle graphics', in which commands for movement and drawing produce innovative graphics.
The language allows to create colorful graphics using a small number of simple commands.
demo is running...
run
stop
clear

Code examples

Demos

empty
close

Code examples

close

Programs / Procedures

to programname :variable
   for [ a 1 10 ] [ fd :a rt 2 ]
   rt 90
   fd random 100
   lt 45
   wait 30
   fd :variable
   if :variable > 1 [
      programname :variable - 1
   ]
end
 
programname 10
You may create your own reusable 'procedures' (or 'programs') using the 'to' and 'end' commands.
Procedures may also include one or more variables.
Procedures can also be used recursively, which mean that they can call themselves.
Once a procedure has been entered, it can be launched like a simple command.
close

All commands / Reference