0% found this document useful (0 votes)
92 views

Turtle Blocks Introductory Manual

Turtle blocks is a visual programming activity where users can create colorful artwork using a "turtle" that draws based on snapped together programming blocks. It can be accessed online at http://turtle.sugarlabs.org/ or through a Python version. The blocks allow users to control the turtle's movement, direction, pen properties and more to build complex designs in a creative way.

Uploaded by

engineer1001
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
92 views

Turtle Blocks Introductory Manual

Turtle blocks is a visual programming activity where users can create colorful artwork using a "turtle" that draws based on snapped together programming blocks. It can be accessed online at http://turtle.sugarlabs.org/ or through a Python version. The blocks allow users to control the turtle's movement, direction, pen properties and more to build complex designs in a creative way.

Uploaded by

engineer1001
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

TURTLE BLOCKS:

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.

Palette buttons Making the turtle move faster


Making the turtle move slower Bringing samples from the web

Stopping project Bringing saved projects from desktop

Clearing screen Deleting onscreen projects

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.

2. Pen size: Set pen block


 Allows you to alter the thickness of the pen. In the example
below the value added was 15, making the pen thicker than its
original thickness.
G. Action block
 Enables you to reuse the original stack of blocks. In the example
below the action, named “action1” is originally a single square.
However, with the action button it was able to repeat itself for
every 60° for six times.
Basically, this block allows you to complete the same process of
the original stack of blocks in different angles.

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

 “boxB” with the original area of 50x50 was repeated 50 times.

 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.
= _ _

You might also like