Turtle Blocks Introductory Manual
Turtle Blocks Introductory Manual
AN INTRODUCTORY MANUAL
A. Description
Turtle blocks or Turtle art is an activity with a Logo-inspired
graphical “turtle” that draws colorful art based on snap-together
visual programming elements. With this program, you can challenge
your creativity to create a holistic artwork.
Go to http://wiki.sugarlabs.org/go/Activities/TurtleArt for more
information
B. Where to play
You can access Turtle block at http://turtle.sugarlabs.org/. For
gnu/linux users a python version is available at
http://activities.sugarlabs.org/en-US/sugar/addon/4027.
Hiding/showing palette
Saving project
A. Forward block
Enables the turtle to move forward. The value you place beside
the turtle will be the distance it will travel. In this example,
the value is 100, therefore, the turtle moved 100 steps forward.
B. Right block
Allows you to adjust the angle of where the turtle will face in
a clockwise perspective, thus, it will adjust the direction of the
turtle. In the first given photo, the value next to the “Right block”
is 90, therefore, the direction of the turtle shifted to 90°.
In the following photo, the “Forward block” with the value of 100
was added. Therefore, from 90°, the turtle moved 100 steps forward.
C. Repeat block
Enables you to repeat steps. In the example, below, the value of
repeat is 4, therefore, the steps indicated forward-100, right-90
was repeated 4 times creating a square.
D. Back block
It basically has the same function with the “forward block”, except
that it makes the turtle move backwards. The value beside the
block will indicate how many steps backward the turtle will take.
In the example below the value is 100, therefore the turtle
moved 100 steps backward from its last position.
E. Left block
It basically has the same function with the “right block” except
that it adjusts the angle in a counterclockwise perspective. In
the example given below, the value of the block is 90. Therefore,
the angle shifted to 90°.
In the following example, another “back block” with the value of
100 was added which made the turtle move 100 steps backward
from the 90° direction.
F. Basic pen tools
1. Pen color: Set color block
Enables you to change the color of the pen. You can alter the
color by inputting different values beside the block. In the
example below, the value 40 gave the pen a light green color.
H. Box block
This block enables you to adjust the area of the box. In the
example below, “box2” originally had the area of 200x200. With the
“box block” the area was changed to 350x350. Therefore the area
of the box will be altered depending on the value you assign.
I. Incorporating the blocks discussed so far
1. Example A
For every “repeat” process the length of each side of the box was
increased with the value of 15.
Different random colors (with the range from 0 to 100) was set
making the overall project colorful.
2. Example B
From the example given for the “Action block” all that’s changed
is that additional squares with an increasing size and random colors
were made.
= _ _