How to

ArtLogo UI


ArtLogo has 3 distinctive areas. On the top right is the Turtle canvas. That's where the Turtle draws. Underneath the canvas is the command center, where you can try commands, like: clean and fd 100. And finally on the left is the procedures area where you write your Logo programs.
coordinates
Before you start writting programs you can try some Logo commands in the command center.

Try:
fd 100

and
clean

to clear the screen and return the turtle to the center.

You can try out other the commands described in the Reference section. There are many code snippets that you can copy and paste into the command center.

Colors and Shades


The color numbers in ArtLogo are between 0 and 100.
The shade numbers are between 0 and 100.
Color

0

10

20

30

40

50

60

70

80

90

-9999

Shade

0

10

20

30

40

50

60

70

80

90

100

The default color is 0 and the default shade is 50.
Black is color -9999 and shade 0.
White is color -9999 and shade 100.

Coordinate System


Here is ArtLogo's coordinate system. The Turtle's default position is (0, 0), which is the middle of the ArtLogo canvas.
coordinates

Defining Procedures


Procedures provide a way to define a new word as a sequence of commands. A procedure starts with the word to followed by its name and it finishes with the word end

Copy this code snippet in the procedure area:

to dash
pu
fd 6
pd
fd 6
end

Once a procedure has been defined it can be used just the way a built-in command is used.

Try this in the command center:
repeat 10 [dash]

or just add these two additional procedures in the procedures area:
to go
repeat 10
 [setxy 0 0
  dashes
  rt 36]
end

to dashes
repeat 10 [dash]
end

Then press Command + G

Procedures with inputs


To create a procedure with an input add an input name starting with a colon
to dash :steps
setps :steps / 2
pu
fd :steps
pd
fd :steps
end

The dash command now takes an input. When dash runs, the value of the variable :steps will be that input.

clean repeat 8 [dash 12]

to dashes
repeat 10 [dash 8]
end


Then press Control + G

Saving Projects


In the Command Centre type saveimage and then the name of your project inside single quotes. It should look like this:

saveimage "HelloWorld

Downloading Samples


To download sample projects, in the Command Centre type: downloadsamples
This will give you a folder with numerous samples to animate or use as inspiration.