TurtleArt Activity

Book on how to use TurtleArt Activity

Site: K-Net Meeting Place
Meeting Place: OLPC Little Green Machines!
Book: TurtleArt Activity
Printed by: Guest User
Date: Saturday, 7 June 2025, 05:15 PM

Table of Contents

Learning with TurtleArt

from: http://en.flossmanuals.net/TurtleArt/Introduction

Play with Turtle Art to draw colorful art patterns using a turtle that accepts instructions for movement.

With visual programming blocks, you can snap together programs by compiling (combining) them in ways to create anything you can imagine.

Turtle Art Activity screenshot

What am I learning?

You are learning how to build a set of instructions for a pretend turtle to follow. With repeating instructions and conditional following of the instructions, your pretend turtle can draw shapes and lines over and over again with interesting results.

Why is this important?

You learn to predict what each instruction will cause the turtle to create with line art. It helps you detect patterns, understand the repetition of instructions, and understand following instructions only when a certain condition is met, which is important in computer programming, mathematics, and science.

Getting Started

from: http://en.flossmanuals.net/TurtleArt/TurtleArtGetStart

Turtle Art allows you to create drawings using the Logo programming language. You can see what programmers do to make programs by giving the turtle programming commands.

Turtle_Art_img_1

Start by clicking on the + on the Blocks menu to see the tools you use to create your drawings by moving the turtle and having him draw colored lines. 

Turtle_Art_img_2

Starter Commands

from: http://en.flossmanuals.net/TurtleArt/StarterCommands

Here are the commands you can give to your turtle on the turtle tab.

turtlemenu 

Turtle_Art_img_3 
clean - Clears the screen of all drawings and send the turtle to the middle.
Turtle_Art_img_4 
forward - Moves the turtle forward the number of pixels entered. Turtle_Art_img_5 
Turtle_Art_img_6 
back - Moves the turtle backward the number of pixels listed. Turtle_Art_img_7 
Turtle_Art_img_8  left – Changes the turtle’s direction to the turtle’s left by the angle specified. 
Turtle_Art_img_9 
Turtle_Art_img_10 right – Changes the turtle’s direction to the turtle’s right by the angle specified. 
Turtle_Art_img_11 
Turtle_Art_img_12  arc – Draws part of a circle. The angle is the part of the circle the turtle draws. The radius determines the width (size) of the circle. Turtle_Art_img_13

Here is a sample of some angles. They can be used for the right and left commands and to draw arcs.

Turtle_Art_img_14 Turtle_Art_img_15 Turtle_Art_img_16 Turtle_Art_img_17

Turtle Pen Commands

from: http://en.flossmanuals.net/TurtleArt/PenCommands

Click on the tab for the pen to see the following tools:

 Turtle_Art_img_21 
pu = pen up – Picks up the pen so that the turtle does not draw.
 Turtle_Art_img_22 
pd = pen down – Puts the pen down so that the turtle can draw. 
 Turtle_Art_img_26 
Set pensize – Sets the width of the pen. The larger the number the fatter the line. 
 Turtle_Art_img_23 
 
Set color – Sets the color of the line that will be drawn. The value can be 0 to 99. See the table for colors. 
Turtle_Art_img_24 Set shade – Sets the brightness of the color. 0 will make it blacker. 99 will make it whiter.The example shows color 0 at shade of 0, 50 and 99.
 Turtle_Art_img_25 
 
Fill screen – Fills the entire screen with the color and shade shown. 

TurtlePen Colors

With the SetColor command, you enter a number that represents the colors shown in the table below. If you use SetColor 19, your turtle draws a bright yellow line.

Pencolors

Try Turtle Art

Piwikfrom: http://en.flossmanuals.net/TurtleArt/TryTurtleArt

What shape will this set of commands make? Try it and see.

Drag each puzzle piece onto the turtle's floor. Next, click on the bar next to the piece, then type numbers to enter the number values you see, such as color and shade. Once all the pieces are locked together, click the first puzzle piece to start your turtle.

Turtle_Art_img_27

Did your turtle draw this shape?

Turtle_Art_img_28

If your turtle didn't draw the shape of an uppercase A, or if the color is different, check each puzzle piece one at a time, pretending that you are the turtle trying to understand the command you gave it. When you see a number or a piece that is out of place, change it and try again.

Here are some more letters your turtle can draw. 

Turtle_Art_img_29

Turtle Art Letters

from: http://en.flossmanuals.net/TurtleArt/TurtleArtLetters

Can you make your turtle draw more letters? Try some of these with curved lines.

Turtle_Art_img_29 

Turtle_Art_img_30

And a capital N has straight lines but drawn at an angle.

Turtle_Art_img_31

Here's the blocks you'd use to make the letter B. The arc block makes the curved lines.

code for letter B

Here are the blocks to make the letter C, just one turn and an arc.

code for the letter C

Here are the blocks to make the letter N.

code for the letter N

Here's my name, JENNY, spelled by the turtle.

spell the name Jenny

Repeating Commands

from: http://en.flossmanuals.net/TurtleArt/RepeatingCommands

Sometimes you want to repeat a set of commands over and over to create a pattern. Use the flow menu blocks to repeat commands to the turtle.

repeat menu - needs updating

Working with one of the flow commands, repeat, makes the turtle repeatedly draw lines.

repeat command this number of times

Any commands that are attached to the repeat will be repeated the number of times specified by the number on the top.

This example draws a circle then picks up the pen, moves forward 10 spaces then turns right 90 degrees. This command repeats 4 times.

repeat commands and resulting shapes

Numbers and Commands

from: http://en.flossmanuals.net/TurtleArt/NumbersandCommands

The numbers commands allows you to perform math in your commands.

numbers menu - needs updating

Number – specify the number you want to use in the operation.

+ - performs addition – 5 + 3 = 8

- - performs subtraction – 5 – 3 = 2

Turtle_Art_img_40

X – performs multiplication - 5 x 3 = 15

/ - performs division – 5 / 3 = 1.67

Turtle_Art_img_41

mod – gets the remainder after division – 5 mod 3 = 2 (5 / 3 = 1 r. 2)

Turtle_Art_img_42

This is similar to the example for the repeat, but in this case we are changing the color each time it repeats. We take the current value of color (which is 0 the first time through) and add 2 to it, giving us 2 for the color on the second loop, 4 for the third and so on.

One note on the color: If I increase the color value by 5 each time then when it gets to 99 it starts over again at 0.

Shapes and Spectrums

from: http://en.flossmanuals.net/TurtleArt/ShapesandSpectrum

Can you create this?

square spectrum

Can you create this?

circular spectrum

Solutions

solution square spectrum

solution circle spectrum

Since the value of a color is a number, you can use that value to set the radius of the circle.