100% found this document useful (1 vote)
36 views

Talking To The Turtle!

This document introduces the LOGO programming language and provides commands for moving, turning, and drawing with a virtual turtle. It explains how to open the command center in LOGO and provides examples of basic movement commands like fd, bk, rt, and lt to move the turtle forward, backward, and turn right or left a specified number of degrees. It also introduces commands for putting the pen down, changing colors, clearing the screen and commands. The document demonstrates how to use the repeat command to repeat a block of commands a set number of times, and provides an example of using commands to draw a square shape. Finally, it encourages exploring different button combinations of commands to create various drawings and shapes with the turtle.

Uploaded by

Rosario Mendivil
Copyright
© Attribution Non-Commercial (BY-NC)
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
100% found this document useful (1 vote)
36 views

Talking To The Turtle!

This document introduces the LOGO programming language and provides commands for moving, turning, and drawing with a virtual turtle. It explains how to open the command center in LOGO and provides examples of basic movement commands like fd, bk, rt, and lt to move the turtle forward, backward, and turn right or left a specified number of degrees. It also introduces commands for putting the pen down, changing colors, clearing the screen and commands. The document demonstrates how to use the repeat command to repeat a block of commands a set number of times, and provides an example of using commands to draw a square shape. Finally, it encourages exploring different button combinations of commands to create various drawings and shapes with the turtle.

Uploaded by

Rosario Mendivil
Copyright
© Attribution Non-Commercial (BY-NC)
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/ 16

Hi everyone!

TALKING TO THE TURTLE!

LOGO

When we talk to the turtle we use a programming language called LOGO. LOGO is a simple language that can do very simple things and VERY COMPLEX ones! We use words called COMMANDS.

COMMAND CENTER

We can try talking to the turtle in the command center.

COMMAND CENTER
To open it go to view and click on VIEW and check: show command center

COMMANDS TO MOVE

TO GO FORWARD FD 100 (or another number..dont exaggerate!) TO GO BACKWARD BK 100 (or another number)

COMMANDS TO TURN
Remember the compass? Your turtle TURNS from 0 to 360 degrees!

COMMANDS TO TURN
TO TURN RIGHT RT 90* (or another number between 0 and 360) TO TURN LEFT LT 90* (or another number between 0 and 360)

COMMANDS TO DRAW

TO PUT THE PEN DOWN PD TO CHANGE COLOR SETC 10* (the number of the color you want)

COMMANDS MORE

TO ERASE THE SCREEN


CG (CLEAR GRAPHICS)

TO ERASE THE COMMANDS CC (CLEAR COMMANDS)

COMMANDS - REPEATING

To repeat the same commands several times you put them in a box: [ ] and use this command:

REPEAT

REPEAT 4
How many times do you want it to repeat it

[ YOUR INSTRUCTIONS]

What do you want to repeat

TO MAKE A SQUARE

First tell the turtle to put the pen down!! PD Now tell it to go forward: FD 100 Next tell her to turn right 90! RT 90 Continue FD 100 RT 90 FD 100 RT 90 FD 100 RT 90

ORUSING REPEAT
The long way: Writing it 4 times: FD 100 RT 90 FD 100 RT 90 FD 100 RT 90 FD 100 RT 90

The short way: Using repeat!

REPEAT 4[FD 100 RT 90]

YOU CAN PUT ALL THIS IN A BUTTON!


To make a button click on this icon: Then click on the screen. This box will appear:

Write the name of the button here Write the commands here

EXPLORE!!
Make

different buttons and combine them:

Change

color Turn different angles Draw shapes


Turn! RED SQUARE RT 30 Setc 15 REPEAT 4 [ FD 100 RT 90 WAIT 2 ]

Awesome!

HAVE FUN!!

You might also like