turtle.down() |
This command is used to put the pen down on the screen and it then draws a line when moving. |
turtle.up() |
This command stops all drawing on the screen. It pulls the pen up and nothing will be drawn to the screen, until down is called. |
turtle.backward() |
This is used to move the turtle backwards by a specified distance - which you put in the brackets. The movement is opposite to the direction the turtle head is facing in. |
turtle.forward() |
This is used to move the turtle forwards by a specified distance - which you put in the brackets. The movement is in the same direction as that the turtle head is facing. |
turtle.color() |
This command is used to change the color of the turtle, and the default color of the turtle is “black”. |
turtle.position() |
This command is used to return the turtle current position (x,y). |
turtle.goto() |
This python command is used to move the turtle from its current position to the x,y position you specify in the brackets. It moves along the shortest linear path between the two locations. |
turtle.left() |
This command is used to change the direction the turtle is facing by the given number of degrees you put in the bracket.
So, it turns the turtle counter clockwise. |
turtle.right() |
This command is used to change the direction the turtle is facing by the given number of degrees you put in the bracket.
So, it turns the turtle clockwise. |
turtle.begin_fill() |
In python, this command is played just before drawing a shape you want to be filled. |
turtle.end_fill() |
This command is used to end the begin_fill() action. |
turtle.fillcolor() |
This command is used to set the fillcolor of an enclosed shape. |
turtle.window_width() |
This command is used to return the width of the current window in pixels. |
turtle.dot(size,colour) |
This command is used to draw a circular dot with a particular size in the current position, with some colour we have chosen. |
turtle.width(size) |
This command sets the width of the line draw |
turtle.circle(radius,angle) |
See this page |