An octagon is an eight-sided pentagon where all sides are equal length and all angles are equal. To draw an octagon in Logo, you move forward the length of a side and then turn 45 degrees, repeating 8 times (8x45=360). The following will therefore draw an octagon with a side length of 100 pixels:
repeat 8 [fd 100 rt 45]
Type ml in the command line.
fd 60 rt 120 fd 60 rt 120 fd 60 rt 120 will cause the turtle to draw a triangle. The square brackets indicate that the enclosed commands are to be executed three times, repeat 3 [fd 60 rt 120] Search Google with: "logo commands triangle" and have a look through the websites on the subject.
Line (x1, y1, x2, y1); Line (x2, y1, x2, y2); Line (x2, y2, x1, y2); Line (x1, y2, x1, y1);
Starting from the centre, move forward 100 pixels, turn 180 degrees and move forward 100 pixels (returning to the centre). Then turn 120 degrees. Repeat three times. repeat 3 [fd 100 rt 180 fd 100 lt 120]
platform-dependent
repeat 3 [fd 250 rt 120]
In Logo programming, the command to draw a rhombus can be achieved using the combination of FORWARD and RIGHT (or LEFT) commands to create the desired angles. A typical command sequence might look like this: REPEAT 2 [FORWARD 100 RIGHT 60 FORWARD 100 RIGHT 120], where you adjust the angles and lengths as needed to create a rhombus shape.
with your hands
Well, honey, to make a trapezium in MSW Logo, you gotta use the "FD" (forward) and "RT" (right turn) commands to draw the sides of the trapezium at different lengths and angles. Just remember to keep track of your angles and side lengths to get that trapezium looking sharp. And if you mess up, just hit that "CLEARSCREEN" command and start over - ain't nobody got time for crooked trapeziums!
write the logo commands to draw the triangle
Type ml in the command line.
draw it out it helps
40
draw an octagon then erase one corner and connect it
To draw a car in MSW Logo you need to type in commands to control the turtle and draw the image. Common command to control directions of the turtle, and thus draw the car, are fd Ã? forward, lt Ã? left, and rt Ã? right. By including a number with these commands you are telling the turtle the length of the line you would like it to draw.
fd 50 rt120 fd50 rt120 fd50 rt 120
To draw a rhombus using the Logo programming language, you can use the following commands: Use the "forward" command to move the turtle forward. Use the "right" or "left" command to change the direction of the turtle. Repeat the forward and turn commands to create the four sides of the rhombus, ensuring that the opposite sides are of equal length and the angles between adjacent sides are 90 degrees. Finally, use the "penup" and "pendown" commands to lift and lower the pen as needed to avoid drawing unnecessary lines.