Programming With Msw Logousing The Editor
- Programming With Msw Logo Using The Editor Pdf
- Programming With Msw Logo Using The Editor Software
- Programming With Msw Logousing The Editor
- Programming With Msw Logo Using The Editor Free
- Programming With Msw Logo Using The Editor Download
Downloaded by 60,000+ newbie coders! Code with the Simple Turtle STEM app, learn to create simple programming code with Turtle LOGO commands to control your Turtle and draw fun images and designs!! Learn Basic coding of LOGO and have fun. This is a Free Coding App! - with NO IAPs and NO paid adverts. New Keyboard feature added - Tap the cursor line to activate it. Learn & experiment to. With the Free Logo editor, the customization options are numerous so you can create the perfect logo that will stand out for your business. You can copyright the logo, but in this case, please contact the Brand Protection agency in your country to start the process. One of the best parts about using Design Space is that it’s so versatile for using many different types of content. If you’re a new crafter, Design Space has thousands of ready-to-make projects, fonts, and over 60,000 images you can choose from to make any project your heart desires. We know many of you love.
- Logo Tutorial
- Logo Useful Resources
- Selected Reading
Logo is a programming language that is very simple and easy to learn. It is used for teaching students and children how to program a computer.
Why should we learn the Logo language?
- Because it is fun, lots of fun.
- Enhances the logical sense of the children.
- Develops programming skills.
- It is real Computer Science.
Logo is a very easy and interesting programming language to learn. It has enough depth to virtually do anything, which can be done in any other computer programming language.
How to download and install MSW Logo Software?
If Logo Programming Software is not installed on the computer, we can get it for free from the following link −
www.softronix.com/mswlogo.htmlAfter installation, it puts a Logo icon on the desktop of your computer.
The MSW Logo screen has two parts −
- A Drawing window above with a triangle-shaped TURTLE in the center.
- A Commander window as shown in the following screenshot.
We will write commands in the command line, i.e., the text box at the bottom of the Commander Window. To execute or run these commands, press Enter or click the Execute Button. We can also write and run more than one command online at a time.
The command history will appear in the gray box. Click a line in the history to make it jump to the respective command line, then we can make changes (if required). Once this is done, press Enter or click the Execute Button.
The simple Logo Drawing Commands move the Turtle forward and backward and also turn it right or left. The commands and their abbreviations are given below −
- fd – forward
- bk – backward
- rt – right
- lt – left
- cs – clearscreen
Either version of these commands can be used. Except the cs command, each of these commands must be followed by one value called as its argument. The arguments for fd and bk are units; those of rt and lt are angles that can be any integer. A rotation by 360 is a complete rotation, therefore a rotation by 375 degrees is the same as 1/15 degrees.
forward 60 or fd 60 means go forward 60 steps
right 90 or rt 90 means right turn 90 degrees
left 90 or lt 90 means left turn 90 degrees
back 60 or bk 60 means go back 60 steps
clearscreen or cs means erase all drawings. This sets the turtle at the center
The graphics window has a coordinate system. The values of the two coordinates (normally called x and y) at the center are 0, 0. At the northeast corner, they are 250, 250; at the southeast corner, they are 250, -250. At the southwest corner, they are -250, -250; etc. If the turtle tries to walk off onto one side of the screen, it wraps around. The right side wraps to the left side and the top wraps to the bottom.
Many programming systems work on the same kind of two-axis ‘xy’ coordinate plane, which we work with in Algebra as well.
Here, ‘0 0’ is the center, or origin (no comma or parentheses here!). In its centered, zoom-'normal' state, Logo's drawing screen shows an area of about 150 points up or down and 300 points right or left from the center.
The turtle can be directed with headings that correspond to a compass rose, with 0 or 360 degrees pointing straight up, 90 degrees straight to the right, and so on. You can set a variable to a number between 0 and 360 and then walk on that path.
Turtle Commands
Now let us try some commands. Commands will be issued one per line followed by a carriage return. Several of these commands can be typed in succession in a command window followed by a carriage return. The effect on the turtle is the same. However, if you type a command, which requires one or more inputs and provide the missing input(s) on the next line, Logo will show an error.
Following is a practice command, which shows the desired results on the right.
The commands – fd 50 rt 120 fd 50 rt 120 fd 50 rt 120, cause the turtle to draw a triangle, as you can see by trying them out.
These commands are read from the left to the right. Since the command fd requires one argument, it is taken as the next value. Similarly, rt takes an argument as well. Thus, Logo can give an unambiguous meaning to each of these character strings. For some Logo commands, separators are needed.
Following are few practice commands with the desired results on the right.
Following is an exercise to check your aptitude on what you have learned so far in this chapter.
Logo has a number of other drawing commands, some of which are given below.
pu − penup
pd − pendown
ht − hideturtle
dt − showturtle
setpensize
The pendown and penup commands tell the turtle to leave ink on the screen as it moves or not to leave ink, respectively. The hideturtle and showturtle commands hide or show the turtle, but do not affect its ability to leave ink as it moves. The home command causes the turtle to return to the center of the screen. It may leave ink behind, when the turtle returns to the center of the screen. The setpensize command decides the drawing pen size.
penup or pu means pick pen up, so you can move turtle without leaving tracks.
- pendown or pd means pick pen down, so you can move the turtle and leave tracks.
- hideturtle or ht means hide the turtle, so you can admire your drawing.
- showturtle or st means show the turtle, so you can continue your drawing.
- setpensize means it can make the pen larger, easier to see. Default pen size is –[1 1].
Following are few practice commands with the desired results on the right.
Logo has a number of other additional drawing commands, some of these are given below.
- home
- cleartext or ct
- label
- setxy
The label command takes a single word as a quoted string (e.g. “a_string”) or a list of words in [ ] brackets without quotation (e.g. [a string of letters]) and prints them on the graphics window at the location of the turtle. Let us consider the following code.
The setxy command takes two arguments, treats the first as the value of the abscissa (horizontal axis) and the second as a value of the ordinate (vertical axis). It places the turtle at these coordinates, possibly leaving ink while reaching these coordinates. In the following three figures, we have shown how the setxy command can be used.
The cleartext command, abbreviated ct, clears the text region of the command window.
Exercise
Following is an exercise to check your aptitude on what you have learned so far in this chapter.
What kind of figure does the following command sequence produce?
Interpret these commands as you read them from left to right. Try it to find out the result.
Following is a table of command summary.
Command Name | Purpose |
---|---|
setx 100 | Sets the turtle's x-coordinate to +100 Moves it 100 points to the right of center No vertical change |
setx -200 | Moves the turtle 200 points to the left of center No vertical change |
sety 150 | Sets the turtle's y-coordinate to 150 Moves it 150 points above center No horizontal change |
sety - 50 | Moves the turtle 50 points below center No horizontal change |
setxy 100 100 | Moves the turtle to xy coordinate 100 100 |
show xcor show ycor | Reports the turtle’s x-coordinate Reports the turtle’s y-coordinate |
setheading 0 seth 0 | Points the turtle straight up, “high noon” |
seth 120 | Moves the turtle 120 degree to point to the four o’clock position |
The following screenshot is a practical demonstration of some of the above commands.
A variable is the name of a memory location which can contain a value. In a computer, each memory location has an integer address. Since it would be hard to remember the address of each location containing a value used by a program, computer scientists have found ways of giving these locations, symbolic names. Once a variable has a name, we can use and manipulate it.
Variables are given names which are strings of letters. A variable name can contain alphabets (case insensitive), digits and underscore. A variable name can be accessed in a computation using ‘:’ before it. Let us consider the following example in the screenshot.
In the above example, we have defined two variables first_name, 100_last_name_200 and initialized them with values Amal and Das using the following statements −
- make “first_name “Amal
- make “100_last_name_200 “Das
Also, we printed these two variables with statements print :first_name and print :100_last_name_200.
The following example shows how to define numeric variables −
Here, we have defined two numeric variables val1 and val2. We have also performed addition and subtraction using them.
Logo provides the usual arithmetic operations of addition, subtraction, multiplication and division, denoted by the symbols +, -, *, /. Each of these operations produces a result. If you don't do something with the result, such as print it, Logo will show an error.
With the print command, the result of an arithmetic operation can be used and printed in the command window. Examples given in the following screenshot demonstrate the same.
Other useful commands are −
sqrt − It takes one non-negative argument and returns its square root.
power − It takes two arguments, call them ‘a’ and ‘b’, and generates a to the b power.
ln − It takes one argument and returns its natural logarithm.
exp − It takes one argument and computes e to that power, e is the natural number 2.718281828.
log10 − It takes the logarithm to base 10 of its one argument.
Following screenshot shows an example of the above commands with their respective output.
Arithmetic operators have a precedence that determines the order with which they are evaluated.
Note − print 60 * sqrt 2 and print sqrt 2 * 60 produce different answers. Here the * operator has a precedence over the sqrt operator. Thus, * will be done before sqrt, if there is a choice, as there is in the second case.
For this reason, the first statement prints the value of 60 times the square root of 2, whereas the second statement prints the square root of 120 as shown in the following screenshot.
We often repeat a sequence of commands. Computer programs often perform repetitive tasks. Just about every programming system has a way of carrying out this repetition, or iteration, as computer scientists call it. Let us consider the following example −
Let us assume we want to draw a square with sides of length 100, we can do this with the following program −
We note that the two commands – fd 100 and rt 90 are repeated four times. Will it not be simpler to tell the computer that it should just repeat these two commands four times instead of writing them four times in a row? We can do exactly this, using the following command −
It saves our time of typing-in to make a square. The general form is: repeat number [commands]. We must use the keyword – repeat followed by a number and then a sequence of commands in [square brackets].
Often, we might have to repeat within repeat. This is called nesting. Let us look at some examples on this.
Following is an exercise to check your aptitude on what you have learnt so far in this chapter.
Sometimes it is fun to have an unpredictable outcome of a computation. Logo provides a random procedure to generate a random number. It has one argument and produces an integer value chosen uniformly at random, which is greater than or equal to 0 and less than the value of its argument. Thus, if you want a random angle between 0 and 359 degrees, you can use the command random 360 to produce it. Bear in mind that Logo will show an error unless you do something with the result, such as printing.
Let us look at the following example −
We have issued the command – print random 360 several times in the above command window and if you notice, each time it generates a random output.
Following are few practice commands with the desired results on the right.
Procedures provide a way to encapsulate a collection of commands. Once a procedure has been created, it can be used just the way a built-in command is used. The “meaning” of a procedure is the meaning of its individual commands.
A procedure without arguments has the word ‘to’ (a reserved word) and the name of the procedure on the first line. (Reserved words in Logo cannot be used as variables and have a well-defined meaning and use.) It has the reserved word ‘end’ on the last line.
A subprogram is a named sequence of steps for another program to execute. Other names for subprograms are procedures and functions. In Logo, you tell the computer how to do something — for example −
Once we have described our procedure to Logo, we can enter its name on the command line, just as we would do to any of the built-in things. In this case, we would type ‘square’ on the command line and Logo looks up the commands to make a square.
Click the button that says Edall (for edit all) to bring up Logo's built-in editor. (If your Logo doesn't have an Edall button, type ‘edall’ on the command line). The following code block has the required structure of the subprogram.
The procedure or subprogram must start with the word ‘to’, followed by a name we think of. The next step is to key-in all the same steps we would write on the command line. The procedure must end with the word ‘end’. All comment or remark lines should be preceded by semi-colon (;).
Following is the practical demonstration of the above example −
Now, from the command line, execute the procedure using its name “square” as shown below −
Procedures can not only contain built-in commands, but they can also contain other procedures.
In the following example, a procedure ‘flower’ is calling our predefined procedure ‘square’ from its body.
Following screenshot shows the output when the procedure “flower” is called −
We don't want every square to be of the same size — we want variety. In Logo, we create variables, whose values we can change. We will use the same square procedure with a small change in the following example.
We give Logo a replacement value for ‘:n’ on the command line as shown below.
Here is the practical demonstration of the above example −
Now let us discuss how to pass two arguments to a procedure. Following screenshot is a practical demonstration of the same.
In a recursive procedure, there will be a recurrence call of the procedure within the procedure. Let us consider the following code −
The procedure spiral_recur has been called from the procedure body itself. The following screenshot shows the execution and output of the code.
Decision-making and variables go together. A program needs to be able to change course depending on the situation. Here, for example, is a framework for drawing a spiral. It has a loop, a variation on the repetition shown earlier and the body of the loop is for us to fill in.
The above code shows several new features of the syntax of the MSW Logo. We set a variable to a new value by keying-in ‘make’, then the variable's name is preceded by a double quote ' rather than a colon ‘:’ as shown below.
We use a variable, though, with a colon ‘:’ in front of its name.
The code bracketed after the ‘while [condition]’ is executed, while the condition is true. When it is no longer true, because (in this case) the value of ‘:n’ grows greater than 100, the code following the bracket is executed.
Following screenshot shows the execution and output of the above code.
Now, we shall discuss the use of ‘if statements’, which have a code that will be executed only when a given condition is true.
It also shows a built-in Logo that generates random numbers. The statement random 3 generates any number 0 or 1 or 2 arbitrarily in a random sequence. The procedure then decides which way to go 'at random'. The generated random number will be kept in ‘r’ and later depending upon the value of the variable ‘r’ one of the if-statements will get executed, which will satisfy the condition. Thus if the −
- Value of ‘r’ is 0, then [fd 20] will be executed.
- Value of ‘r’ is 1, then [rt 90 fd 20] will be executed.
- Value of ‘r’ is 2, then [lt 90 fd 20] will be executed.
Following screenshot shows the execution and output of the above discussion.
Any sequence of alpha-numeric characters, for example – “america”, “emp1234”, etc. are examples of a string. Counting the characters is the most basic of all string processes. The answer to the question stringlength 'abc12ef is given by the following procedure −
In the above procedure –‘s’ is the variable containing the input string. Variable inputstring contains the copy of the input string. Variable count is initialized with 0. In the while loop, the condition checks whether the string has become empty or not. In each loop count, a variable is being increased by 1 to hold the length count. The statement print first :s, prints the first character only of the string stored in ‘s’.
The statement make 's butfirst :s, retrieves the sub-string excluding the first character. After exiting from the while-loop, we have printed the character count or the length of the input string. Following is the execution and output of the code.
Computer screens work with red, green and blue components of light, so they are sometimes called RGB screens.
On Logo's Set menu, we can set the color of three screen elements −
- The turtle's pen
- The turtle's fill (like a paint bucket for enclosures)
- The screen background
We set a color by moving these three sliders left and right. Remember that black is the absence of all color and white is all colors together. Mixing light isn't like mixing paint. As an example, if you mix red and green paint, you get a muddy color. Since this is a computer, every color has an internal numeric representation.
On the left end of the sliding scale is zero (0). On the right end is 255, which is kind of like 99 to a computer (It's 28 - 1). Thus black is [0 0 0], red is [255 0 0], green is [0 255 0], blue is [0 0 255]. You can make anything in between these colors, and in all these, there are 256 * 256 * 256 possible colors. That's 28 * 28 * 28, or 24-bits of color — 24-binary digits inside the machine.
The following commands will give you a big fat red pen −
When you find a color you like using the sliders, you can ask Logo what it is: choose the pen color, then in the command window, enter the following command.
Programming With Msw Logo Using The Editor Pdf
The following screenshot shows the execution and output of the above code.
You can make a colored square using the following steps −
Step 1 − Draw the square with side length 40 using the following command.
Step 2 − Pen up using the following command.
Step 3 − Go to a point inside the square. For example, place the turtle at coordinate (20, 20) using the following command.
Step 4 − Fill the square with the set floodcolor. For example, to set the floodcolor to blue use the following command.
The following table lists a few more Color and pen related commands.
Color & Pen command | Purpose of the command |
---|---|
setpencolor [ r g b] setpc [r g b] | Sets the color for turtle’s pen r g b are numbers in range [0, 255] |
setfloodcolor [r g b] setfc [r g b] | Sets the color for an endorsed area |
setscreencolor [r g b] setsc [r g b] | Sets the color for the background |
show pencolor show floodcolor show screencolor | Specifies the current values for [r g b] of a named item |
Fill | Dumps a bucket of current floodcolor at the cursor’s location |
Fill | Dumps a bucket of current floodcolor at the cursor’s location |
Try executing the following set of commands −
cs − To clear the screen.
home − To bring the turtle at the home place.
setpensize [5 5] − Setting the pen size.
setpencolor [255 0 0] − Setting the pen color to red.
setfloodcolor [0 0 255] − Setting the flood color to blue.
setscreencolor [0 255 0] − Setting the screen color to green.
repeat 4 [fd 40 rt 90] − Draw a square with side length 40.
pu − Pen up.
setxy 20 20 − Put the turtle at coordinate (20, 20).
fill − Fill the square with the set floodcolor blue.
ht − Hide turtle.
You should receive the following output on execution of the above commands.
Logo is a simple programming language devised by Seymour Papert for educational purposes. Students can control the movement of a 'turtle' which draws lines on the screen. Students learn about lengths and angles while creating diagrams and patterns. The learning takes place as students experiment, get feedback and revise their actions in a non-judgmental environment. Students develop a much better understanding of angles being an amount of turning than they do from more traditional, static exercises.
Logo is a wonderful application to use when learning about the properties of shapes and angles. Using the repeat command to draw a triangle usually results in a significant and poignant learning moment as students grasp the difference between the internal and external angles.
You can find in the left panel above instructions and a series of challenges for the student who has not used Logo before. Click the blue buttons to move through the challenges. Students can use the snipping tool to capture pictures of their work which they can paste into their notes.
Please send Transum pictures of anything magnificent you produce with this application or describe your programming.
Damian Johnson, Emmaus Catholic Primary School, Australia
Awesome Fireworks:
Andrew, Badchaps@btinternet.com
I think this code produces a word but I can't find a site to produce it can you tell me what is says please
cs pu lt 90 fd 75 fd 75 pd rt 90 fd 90 rt 90 fd 45 pu fd 15 rt 90 pd fd 90 lt 90 fd 45 lt 90 fd 90 rt 90 pu fd 15 rt 90 pd fd 90 pu bk 90 lt 90 pd fd 45 rt 90 fd 90 pu lt 90 fd 15 pd fd 45 lt 90 fd 45 lt 90 fd 45 rt 90 fd 45 rt 90 fd 45 pu fd 15 rt 90 pd fd 90 pu bk 45 lt 90 pd fd 45 rt 90 fd 45 pu lt 90 fd 15 pd fd 45 lt 90 fd 45 lt 90 fd 45 pu bk 45 rt 90 pd fd 45 lt 90 fd 45 pu bk 60 lt 90 pd fd 90 lt 90 fd 15 pu fd 15 lt 90 pd fd 90 pu bk 90 rt 90 pd fd 15 pu .
Yuri.T,
A great way to create shapes and many other amazing images. I particularly liked the spectacular fireworks... tres bien and fantastique!
Hannah, West Yorkshire, England Aged 11
I used this for my ICT homework and I was glad you didnt have to download anything as I've used LOADS of memory on my computer. This was really useful but maybe you could put some hints in, because challenge ten was really difficult for someone my age.
Kieron, North Tyneside
Repeat 250[fd 20 rt 89] to make a circle.
Jack Mac, Taupo, NZ
If you type in:
repeat 360 [fd 1 rt 1] it makes an arc.
Jack Mac, Taupo, NZ
Guide to colours:
PC 0 Black
PC 1 Blue
PC 2 Red
PC 3 Green
PC 4 Yellow
PC 5 Purple
If you mix red and plue it makes purple automatically.
I assume if you mix yellow and blue it might make green but I haven't tried yet.
Jack Mac, Taupo, NZ
Repeat 250[pc 1 fd 20 rt 89 pc 2 fd 20 rt 89] makes a vortex with a mixture of hues including purple.
Jack Mac, Taupo, NZ
Repeat 500 [pc 1 fd 5 rt 44 pc 2 fd 5 rt 44 pc 3 fd 5 rt 44 pc 4 fd 5 rt 44 pc 5 fd 5 rt 44 pc 0 fd 5 rt 44] makes the most epic circle in the history of the universe!
Jack Mac, Taupo, NZ
Repeat 500 [pc 1 fd 5 rt 45 pc 2 fd 5 rt 44 pc 3 fd 5 rt 43 pc 4 fd 5 rt 42 pc 5 fd 5 rt 41 pc 0 fd 5 rt 40] makes an even EPIC-ER circle!
Andrew Butler, Island Pacific Academy
Also, try do repeat 1000 [pc 4 fd 5 rt 35 pc 2 fd 5 rt 35] to make the Fire Circle.
Andrew Butler, Island Pacific Academy
I really love this website especially the colors in it. But, I'm stuck on challenge number 10. I can make the stems and the little triangle on the bottom, but I cant make the flowers. But the really cool thing is that if you start out with the normal color (which is gray) and do 'repeat 50 [fd 5 bk 5] it makes it darker.
Lori, Lori
rt 90 pc 3 repeat 500 [fd 5 rt 89] makes a green circle.
Aaron, Island Pacific Acadamy
It is cool making flowers but how do you make one.
Andrew, Island Pacific Academy
pc 1 repeat 500 [fd 5 rt 91] makes the most perfect circle in the whole wide world!
Sami Md, New York City,NY
Repeat 8[fd 3 rt 45] makes an octogon.
Rebeca Bayeh, Brazil
This is so funny, thank you very much!
cs repeat 50[pc 1 fd 5 rt 45 pu fd 1 rt 1 pd pc 2 fd 5 rt 60 pu fd 1 rt 1 pd pc 3 fd 5 rt 75 pu fd 1 rt 1 pd pc 5 fd 5 rt 90 pu fd 1 rt 1 pd pc 4 fd 5 rt 145 pu fd 1 rt 1 pd ]
makes a crazy colorful sun.
Rebeca Bayeh, Brazil
And this one makes a happy smiley!
cs pc 3 pu fd 5 rt 270 pf 2 rt 270 pd fd 2 pu bk 2 rt 90 fd 4 rt 270 pd fd 2 pu rt 90 fd 5 pc 2 rt -90 pd repeat 20 [fd 1 rt -9].
Andy, Teesdale
All the colours available...
0){= 'black';}
1){= 'blue';}
2){= 'red';}
3){= 'green';}
4){= 'yellow';}
5){= 'purple';}
6){= 'lime';}
7){= 'silver';}
8){= 'orange';}
9){= 'brown';}
10){= 'navy';}
11){= 'maroon';}
12){= 'aqua';}
13){= 'fuchsia';}
14){= 'teal';}
15){= 'white';}.
Holly, Caliornia Usa
Can someone tell me how to make the flowers, I'm finding it so hard.
Ryan,
Hi there can you please help me to create those flowers on challenge 10 anyone?
MG, MG
Great to be able to use Logo online without needing to install anything.
Should the 'turtle' move with the drawn line?
[Transum: Sorry MG. The problem was caused by an incomplete software upgrade. Thanks so much for letting us know. The problem has now been corrected.]
Emma, Sydney
Cs pc 14 rt 90 fd 5 bk 10 fd 10 lt 45 fd 5 lt 135 fd 17 lt 135 fd 5 pu pc 9 lt 45 fd 5 lt 90 fd 4 pd fd 10 pc 5 rt 90 rt 45 fd 10 rt 135 fd 7 pu rt 90 pc 12 fd 7 lt 90 lt 45 pd fd 10 lt 135 fd 7 to make a colourful boat.
Ricky-Lee, NZ
Repeat 100[pc 2 fd 5 rt 89 pc 4 fd 10 rt 89 pc 8 fd 15 rt 89] Makes the most epic circle :).
Maryam, Maryam
Pc 3 repeat fd 10 rt 90 fd 10 rt 90 fd 10.
Taylor, Me
Pu rt 180 fd 10 lt 180 pd fd 15 repeat 90[fd 5 bk 5 rt 4]
That is how you do 1 flower for challenge 10, a bundle of flowers, configure it all you want, give it colour, add the bundle rotation, or show off to your friends.
Lara, England
I really loved this. I use the computer a lot and I also use this website a lot so for me all of the challenges were easy and also I like experimenting the different things I can make.
Omar Hadeed, Kuwait
We started learning how to use Logo back in grade 8. I remember my first command, we started dividing 360/3 = 120. And so, I used repetitive capability to make fun shapes like this one:
'repeat 120 [fd 5 bk 5 rt 3]'
Try for yourself. This tool is a powerful designing operator, I would waste hours of my day punching commands that return fabulous sketches !!
Gary, England
I used to be able to create procedures and they were stored on this great, really useful website. However, they've disappeared and I can't create any more. Is there a problem?
[Transum: Sorry Gary, procedures aren't available. Logo is on the plan to be updated later this year.]
Sasha, Sasha
I need help will making a flower I am just copying from the comments.
Rebecca, Aughton Primary School
To get an awesome shape type in this code repeat 99 [ fd 12 rt 85604 fd 24 lt 326677 fd 15].
Vanya,
Repeat 500[pc 2 fd 14 rt 298 pc 14 bc 10 lt 509 pc 10 fd 15] it makes really cool stuff.
Chipminkey, Kiwiland
Hahahaha so funny 'repeat 5 [fd 10 rt 72]'.
Khushi, London
Hi guys these are all the colours that you can use-
0){= 'black';}
1){= 'blue';}
2){= 'red';}
3){= 'green';}
4){= 'yellow';}
5){= 'purple';}
6){= 'lime';}
7){= 'silver';}
8){= 'orange';}
9){= 'brown';}
10){= 'navy';}
11){= 'maroon';}
12){= 'aqua';}
13){= 'fuchsia';}
14){= 'teal';}
15){= 'white';}.'.
HOPE, Jaze
Remembering Logo classes in the 2nd and 3rd grades of grammar school.
pd fd 6 rt 180 fd 3 rt 270 fd 3 rt 90 fd 3 rt 180 fd 6 pu
pd fd 6 rt 90 fd 3 rt 90 fd 6 rt 90 fd 3 pu
pd fd 6 rt 90 fd 3 rt 90 fd 3 rt 90 fd 3 pu
pd fd 6 rt 90 fd 3 rt 180 fd 3 lt 90 fd 3 lt 90 fd 3 rt 180 fd 3
lt 90 fd 3 lt 90 fd 3 pu.
Noah Farish, Doncaster
I spend 10 hours on this a night, therefor I need more challenges to do in all my spare time. I would like you to take this into consideration thankyou.
Wolf, Wolf
Do: repeat 90 [fd 10 rt 89 fd 10 rt 88 fd 10 rt 87 fd 10 rt 86 fd 10 rt 85 fd 10 rt 84 fd 10 rt 83 fd 10 rt 82 fd 10 rt 81 fd 10 rt 80]for the most epic thing ever.
WOLF, BOSS
Do this boss thing: pc 12 repeat 90 [fd 10 rt 89 fd 10 rt 88 fd 10 rt 87 fd 10 rt 86].
Max Healey, Emmaus CPS
This makes and such an awesome shape I don't know what to call it. pc 3 repeat 90 [fd 10 rt 92 fd 10 rt 88 fd 10 rt 90 fd 10 rt 89].
Will Mumford, Emmaus CPS
Repeat 90 [fd 10 bk 10 rt 1 pc 1 fd 10 bk 10 rt 1 pc 2 fd 10 bk 10 rt 1 pc 3 fd 10 bk 10 rt 1].
Cameron, St. Johns School, Gravesend
Use this to make an awesome spiral !!!
repeat 185 [fd 15 bk 15 rt 2].
Dominic Maluhan, St Aloysius College Islington
How do you make a star?
Ben, Washington
Repeat 70[fd 12 rt 90 fd 12 lt 175 fd 13 lt 190 fd 7] Makes a spiked circle.
Athena, Greece
Type in Pu bk 15 lt 90 fd 2 rt 90 pc 3 pd fd 10 pc 2 lt 45 fd 5 rt 45 fd 5 rt 160 fd 3 lt 140 fd 2 rt 140 fd 2 lt 140 fd 2 rt 140 fd 2 lt 140 fd 2 rt 140 fd 2 lt 140 fd 2 rt 140 fd 2 lt 140 fd 3 rt 160 fd 5 rt 45 fd 5 lt
this makes an epic flower.
Jan, Aruba
Cs pu fd 10 rt 162 pd repeat 5 [fd 10 lt 72 fd 10 rt 144] makes a 5 pointed star.
Ben, Ben
Repeat 90[fd 12 rt 90 bk 4 lt 75 fd 13 bk 12 rt 90 fd 12 rt 60 fd 15 bk 20] makes a spiky circle thing.
Anonymous, Planet Earth
I am really struggling with Challenge 10 so if anybody could help me out that would be great thanks.
Harrison Finch, Ashford, Kent
'repeat 45 [pc 14 fd 10 rt 145 pc 13 fd 10 rt 145 pc 2 fd 10 rt 145 pc 3 fd 10 rt 145 pc 6 fd 10 rt 145 pc 7 fd 10 rt 145 pc 8 fd 10 rt 145]' makes an awesome colourful vortex.
Spicky Circle, Bob
Pc 5 repeat 450 [fd 4 rt 7 bk 3] makes a beautiful spicky circle.
Colourful Square Spiral!!, Alex
Pc 1 fd 2 rt 90 pc 2 fd 4 rt 90 pc 3 fd 6 rt 90 pc 4 fd 8 rt 90 pc 5 fd 10 rt 90 pc 6 fd 12 rt 90 pc 7 fd 14 rt 90 pc 8 fd 16 rt 90 pc 9 fd 18 rt 90 pc 10 fd 20 rt 90 pc 11 fd 22 rt 90 pc 12 fd 24 rt 90 pc 13 fd 26 rt 90 pc 14 fd 28 rt 90 pc 1 fd 30 rt 90 pc 2 fd 32 rt 90 pc 3 fd 34 rt 90 pc 4 fd 36 rt 90 pc 5 fd 38 rt 90 pc 6 fd 40 rt 90.
RC, UK
cs repeat 6 [fd 10 rt 150 fd 5 rt 150] makes a groovy shape.
George, UK
Any thing with repeat 999999 breaks your computer dont try it.
Alex,
Repeat 40[fd 10 rt 45]
makes an regular octogon.
Alex Zorba, Lebanon
repeat 8[fd 1 rt 90 fd 2 rt 130]
Jose Antonio, Mexico
So, back in that time the best I made was a circle that erases himself after drawing, then advance and then draw and erase again, so it was an animation, a circle that pass from side to side of the screen, that was the max my computer can handle, in this web I could make the base, but I cant find the way to erase before drawing... still here is not needed becayou dont see the drawing in real time, you only see the last result so I emulated the program whithout erasing, here is it, hope you like it and maybe add the animation erasing a circle after finishit and before to move to the nexty one, only if your system can draw it in real time :
pu rt 270 fd 28 rt 90 pd pc 14 repeat 50fd 1 rt 18 fd 1 rt 18 fd 1 rt 18 fd 1 rt 18 fd 1 rt 18 fd 1 rt 18 fd 1 rt 18 fd 1 rt 18 fd 1 rt 18 fd 1 rt 18 fd 1 rt 18 fd 1 rt 18 fd 1 rt 18 fd 1 rt 18 fd 1 rt 18 fd 1 rt 18 fd 1 rt 18 fd 1 rt 18 fd 1 rt 18 fd 1 rt 18 pu rt 90 fd 1 rt 270 pd fd 1 rt 18 fd 1 rt 18 fd 1 rt 18 fd 1 rt 18 fd 1 rt 18 fd 1 rt 18 fd 1 rt 18 fd 1 rt 18 fd 1 rt 18 fd 1 rt 18 fd 1 rt 18 fd 1 rt 18 fd 1 rt 18 fd 1 rt 18 fd 1 rt 18 fd 1 rt 18 fd 1 rt 18 fd 1 rt 18 fd 1 rt 18 fd 1 rt 18.
Jordan Angilley, St Johns
Try repeat 125[pc 1 fd 10 rt 125 pc 2 fd 5 rt 125] and it wil make a awesome circle.
Jordan Angilley, Australia
Try repeat 125[pc 2 fd 20 rt 153 pc 14 fd 20 rt 153 pc 10 fd 20 rt 153 pc 4 fd 20 rt 153] to make something.
Jim, Jim
Type repeat 4[fd 4 rt 90 fd 5 rt 180 fd 5 rt 180].
Lewis, England
Repeat 360[fd 1 rt 1] makes a full circle.
Beverley Copestake,
Can anyone help - my son wants to copy and paste his design into word. I've tried but can't manage it. Does anyone know how to do this? Thank you.
[Transum: If you are using Windows use the Snipping Tool otherwise try to take a screen capture, you can search online for instructions using Google, Bing or similar]
Bob Loddy, Spain
Does any one know the code for challenge ten.
Bobby, Lancaster
I love this. It has helped so much!
Transum,
Well done Class 6 at Dunston Primary and Nursery School who have been learning to code to make shapes and turns.
Lily,W, Nelson Nz
Pc 1 fd 2 rt 90 pc 2 fd 4 rt 90 pc 3 fd 6 rt 90 pc 4 fd 8 rt 90 pc 5 fd 10 rt 90 pc 6 fd 12 rt 90 pc 7 fd 14 rt 90 pc 8 fd 16 rt 90 pc 9 fd 18 rt 90 pc 10 fd 20 rt 90 pc 11 fd 22 rt 90 pc 12 fd 24 rt 90 pc 13 fd 26 rt 90 pc 14 fd 28 rt 90 pc 1 fd 30 rt 90 pc 2 fd 32 rt 90 pc 3 fd 34 rt 90 pc 4 fd 36 rt 90 pc 5 fd 38 rt 90 pc 6 fd 40 rt 90 you will be surprised.
Arqam 4-E, LGS
HI Ryan! code for the flower of challenge no. 10 is as under
repeat 75[fd 5 rt 175 fd 5]
Archie, UK
Repeat 50[fd 47 rt 66] makes a cool half sun vortex.
Tomek, Bristol
pc 1 repeat 182[fd 12 lt 69] creates an amazing circle.
Dylan, Bristol
Repeat 100[fd 7 rt 45 bk 7] creates a brilliant piece of code resulting in a really good shape.
Warren,
Thank you for your wonderful website. I am working on a project that has used your tool to great effect. However, I can’t get the numbers I need to match accurately and I believe it is because the system is limited to integers. Is that the case or can the turtle move in decimal distances?
[Transum:Sorry Warren, you are right. Online logo is limited to integers.]
Jae, Adelaide SA Australia
repeat 45 [pc 14 fd 10 rt 145 pc 13 fd 10 rt 145 pc 2 fd 10 rt 145 pc 3 fd 10 rt 145 pc 6 fd 10 rt 145 pc 7 fd 10 rt 145 pc 8 fd 10 rt 145] bk 5 rt 170 fd 10 should make a yoyo
Isaac, Boatwright Littlegarth
If you type in 'repeat 99[rt 81 fd 10 rt 90 fd 10 rt 90 fd 10 rt 90 fd 10] it makes a cool but weird shape
Programming With Msw Logo Using The Editor Software
Lach, Doo
What is the code to complete the Golf course (Challenge 8)?
Flower, Hayden and Ollie
fd 15 bk 5 repeat 120 [fd 5 bk 5 rt 3]
Emily And Hannah., UK/Wilthshire.
Hi there we are going to show you a very cool #### that we found out. We hope that you enjoy it.
repeat 8 [pc 7 fd 5 rt 150 pc 13 fd 5 lt 105]
Colorful Circle,
Try: repeat 20[ pc 12 fd 10 pc 5 pc 14 rt 80] makes epic colorful spiked circle.
Programming With Msw Logousing The Editor
Evan Song, Bethesda, Maryland
To make a Cube: fd 10 rt 90 fd 10 rt 90 fd 10 rt 90 fd 10 rt 90 pu fd 5 rt 90 fd 5 lt 90 pd fd 10 rt 90 fd 10 rt 90 fd 10 rt 90 fd 10 rt 90 pu fd 5 lt 90 fd 5 rt 135 pd fd 7.07106781187 pu rt 45 fd 10 rt 135 pd fd 7.07106781187 pu lt 45 fd 10 lt 135 pd fd 7.07106781187 pu lt 135 fd 10 lt 45 pd fd 7.07106781187 rt 135 pu fd 25.
AV, Australia
Is it possible to have a wait command, like the old Logo, to watch the pen draw?
Transum: Thank you for your question AV. There is a wait command but it is only available in Levels 2 and 3. Go to Level 2 and type the following to see the wait command in action:
repeat 8[fd 30 wait 60 rt 45]
Anna, New Jersey
I wish you can see the awesome design I made by repeating this. you can see the code I used Repeat 20[lt 20 fd 4 lt 140 fd 4 kt 40 fd 4 kt 140 fd 4]
Tomek Cz, UK
Be sure to try this one! cs bk 20 repeat 198[pc 5 fd 25 bt 25 rt 190 50 rt 80 pc 4 fd 25 rt 190 rt 4]ct . I created an amazing complimentary coloured star/flower pattern!
Maxwell, London
To make a awesome circle: cs ct pu rt 225 fd 15 rt 135 pd repeat 75 [fd 20 rt 121 fd 30 rt 122]
Isaac, Essex
repeat 500 [fd 30 rt 100 fd 35 lt 42 fd 100]
shapes epic made by a 6 year old
Tomek, UK
cs ct pu fd 5 pd pc 3 repeat 128[pc 12 fd 15 rt 135 pc 7 fd 0.15625 rt 1.40625 pc 6 fd 0.3125 rt 2.8125 pc 5 fd 0.625 rt 5.625 pc 4 fd 1.25 rt 11.25 pc 1 fd 2.5 rt 22.5 pc 3 fd 5 rt 45 pc 2 fd 10 rt 90]
Makes an EPIC shape
Ashray, India
Here is the code of a flower in challenge 10:
repeat 100[fd 10 bk 10 rt 5]
It really works!
I spent all day working on challenge 10!
Ashray, India
Programming With Msw Logo Using The Editor Free
If you type this code in the input box in level 1 then you will see a mind-blowing flower!!! Here is the code:
repeat 100[ pc 5 fd 20 pc 2 bk 5 rt 20 pc 14 fd 5 pc 2 bk 2.5 rt 93 pc 8 fd 10 pc 4 bk 10 rt 93]
Do you have any comments? It is always useful to receive feedback and helps make this free resource even more useful for those learning Mathematics anywhere in the world. Click here to enter your comments.
Linking our work on angles by using Transum logo to create shapes in P6F. #successfullearnerspic.twitter.com/PRKlNXUGfp