Movement Commands
These commands move the logo.
1) Forward :- This command moves the logo in the direction it is facing.
FD <length>
length will be in pixels
Example
FD 100
FD 50
2) Backward :- This command moves the logo in the backward direction logo is facing.
BK <length>
Example
BK 100
BK 50
Turn Commands
1) Right Turn :- turns the logo in right direction with the angle provided.
RT <angle>
Example
RT 90
2) Left Turn :- turns the logo in left direction with the angle provided.
LT <angle>
Example
LT 90
Appearance Commands
1) Setpensize :- sets the size of the line logo draws
SETPENSIZE <width>
Example
SETPENSIZE 5
2) PENUP :- after this command logo wont draw anything in the canvas. It will still move but wont draw any line.
3) PENDOWN :- after this command logo will again be able to draw line in its path.
4) HT :-Hide Turtle, This command hides the Turtle/Logo
5) ST :- Show Turtle, This command shows the Turtle/Logo again.
Repeat command
It helps to repeat set of repetitive command by giving number of repetition of loops.
REPEAT <Loop_Number> [ <Commad> ]
Example
REPEAT 4 [ FD 100 RT 90 ] will draw a sqaure of side 100.