fd 50 rt 90 fd 50 rt 90 fd 50 rt 90 fd 50
fd 50 rt120 fd50 rt120 fd50 rt 120
A decagon is a 10-sided polygon. To draw a regular decagon in MSWLogo, first create the following procedure: to decagon :n repeat 10 [fd :n rt 36] end Now invoke it: decagon 100 This creates a decagon with sides of length 100.
reapet 2[fd100 rt 90]
Using trigonometry its height is 6*sq rt of 3 and its base is 6 So: 1/2*(6 times sq rt 3)*6 = 18*sq rt 3 which is about 31.177 square inches rounded to 3 decimal places
to house REPEAT 4 [fd 100 lt 90] fd 100 lt 90 REPEAT 3 [FD 100 RT 120] lt 90 fd 100 rt 90 fd 35 REPEAT 2 [FD 60 RT 90 FD 50 RT 90] fd -5 rt 90 REPEAT 2 [FD 40 RT 90 FD 25 RT 90] penup fd 60 pendown REPEAT 4 [FD 25 RT 90] end put that in Edall hope that helps by chloe who likes licking ou tpigs xxx
Repeat 4 [fd 60 rt 90]
to circlerepeat 360 [ fd 2 rt 1]Endto fillbluepu setpos [20 20] setfc 1 fillEndto fillgreenpu setpos [20 20] setfc 2 fillendto fillorangesetpos [120 20] setfc 14 fillEndto fillredpu setpos [120 20]pu setpos [120 20] setfc 4 fillEndto francepd outline pu fillblue fillredEndto hectagonrepeat 6 [fd 100 rt 60]Endto houseREPEAT 4 [fd 100 lt 90] fd 100 lt 90 REPEAT 3 [FD 100 RT 120] lt 90 fd 100 rt 90 fd 35 REPEAT 2 [FD 60 RT 90 FD 50 RT 90] fd -5 rt 90 REPEAT 2 [FD 40 RT 90 FD 25 RT 90] penup fd 60 pendown REPEAT 4 [FD 25 RT 90]endto housebcs pd house pu lt 90 fd 20 setbrown rt 90 fd 50 setbrownEndto irelandpd outline pu fillgreen fillorangeEndto italypd outline pu fillgreen fillredEndto italy1pd outline pu fillgreen fillredEndto libyapd square pu setpos [50 50] setfc 10 fillEndto oblongrepeat 2 [fd 20 rt 90 fd 100 rt 90]Endto rastapd italy pu setpos [60 50] setfc 6 fillEndto rectanglerepeat 3 [fd 100 rt 90 fd 50 rt 90]Endto redboxpd square pu setpos [50 50] setfc 4 fillEndto setbrownsetfc 8 fillEndto squarerepeat 4 [fd 100 rt 90]Endto starREPEAT 8 [FD 100 RT 135]Endto star2Repeat 5 [fd 100 rt 144]Endto swissredbox pd fd 32 rt 90 fd 8 rt 90 fd 32 lt 90 fd 16 rt 90 fd 8 rt 90 fd 16 rt 90 rt 90 lt 180 lt 90 fd 32 lt 90 lt 180 fd 8 rt 90 fd 32 lt 90 fd 16 rt 90 fd 8 rt 90 fd 16 setpos [55 50]setfc 7 fillEndto trirepeat 3 [fd 100 rt 120]End
This is how to make a rectangle in Microsoft logo. repeat 2[fd 200 rt 90 fd 400 rt 90]
fd 60 rt 100 fd 60 rt 100 fd 60 rt 100 fd 60
fd 60,bk 30,rt 90,fd 30,lt 90,fd 30,bk 60
fd 50 rt 90 fd 50 rt 90 fd 50 rt 90 fd 50
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.
Type in pc logo software fd 40 rt 90 fd 40 rt 90 fd 40 rt 90 fd 40 done
lt 45,fd 5o,rt 45,fd 50,rt 45 fd 50,rt 90,fd 50,rt 45,fd 50,rt 45,fd 50
REPEAT 69 [FD 100 BK 50 RT 90 LT 90 BK 25]SY 90 FD 20 LT 25
to make a star on ms logo the commands should be: RT 20 FD 40 RT 140 FD 40 LT 70 FD 40 RT 140 FD 40 LT 70 FD 40 RT 140 FD 40 LT 70 FD 40 RT 140 FD 40 LT 70 FD 40 RT 140 FD 40