Presentation is loading. Please wait.

Presentation is loading. Please wait.

Logo For beginners By Dali Matthews 9S What is logo?

Similar presentations


Presentation on theme: "Logo For beginners By Dali Matthews 9S What is logo?"— Presentation transcript:

1 Logo For beginners By Dali Matthews 9S What is logo?
The basic commands Why commands are important? What is a turtle? What is repeat? What is commander? How to change the colour of the pen? How to draw a square? How to draw a circle? What are variables? EXTRAS Logo For beginners By Dali Matthews 9S

2 A SIMPLE DISPLAY OF LOGO
THE TURTLE IS WHAT WE COMMAND THIS IS WHERE THE LIST OF COMMANDS WRITTEN WILL BE DISPLAYED WILL EREASE ALL THE CODES AND COMMANDS WHERE WE WRITE THE COMMANDS FOR TURTLE

3 A What is logo? Logo is a programming language develop at the MIT (Massachusetts Institute of Technology). Logo easy to learn and really powerful. Logo simple to use. Logo uses commands to make whatever you can imagine.

4 The basic commands PD is pendown so it start drawing
PU is penup so it will stop drawing Forward is FD with any number, example FD 100 Backward is BK with any number, example BK 90 To rotate right you put RT and how many degrees, example 0-360 To rotate left you put LT and how many degrees, example 0-360, LT 45

5 Why commands are important?
Commands are very important because we need to command an object to do a certain thing. Robots work with commands if they wouldn't have commands they wouldn't work. CCTV cameras work with commands, if CCTV cameras have an error we could have no security. If commands are put carefully then the CCTV cameras would work.

6 What is turtle? The turtle is the triangular shape
D What is turtle? The turtle is the triangular shape The turtle is found in the middle of the logo screen It show which direction your pointing

7 What is repeat? For example: repeat [ fd 50 lt 45 ] to make an octagon
Repeat is a set of commands that are repeated which are in the brackets.

8 What is commander? Commander is the box on the bottom.
F What is commander? Commander is the box on the bottom. You need commander or else you cant type commands in. Commander is where you write your commands. You always have to start with pd (pendown) To finish you write pu (penup)

9 How to change the colour of the pen?
There is only red, green, and blue color. Go to the commander Write: SetPC [ ] (for red) you have to put one of the number from 0 to 255 .

10 How to draw a square? First go to the commander.
Type repeat 4 [fd 10 rt 90] You can increase or decrease the size by changing the number of fd. s But the rt stay’s the same, it must always be 90. Example of a square on the right-

11 How to draw a circle? First go to the commander
Then put in the commands repeat 360 [fd 1 rt 1] Example on the right->

12 J What are variables? In the dictionary variables means: An element, feature, or factor that is liable to vary or change. For example, the codes that you put in a cell are variable (which can change)

13 EXTRAS To make a house you need to have these codes: K
To square :length Repeat 4[fd :length rt 90] End To triangle :length Lt 90 Repeat 3[rt 120 fd :length] Then put this in:


Download ppt "Logo For beginners By Dali Matthews 9S What is logo?"

Similar presentations


Ads by Google