speed(speedthe drawing speed to usethe default is the higher the value the faster the drawing takes placevalues in the range - are accepted turtle tracer( nonethis can be used to batch updates to the turtle graphics screen it is very useful when drawing become large and complex by setting the number (nto large number (say then elements will be drawn in memory before the actual screen is updated in one gothis can significantly speed up the generation of for examplea fractal picture when called without argumentsreturns the currently stored value of turtle update(perform an update of the turtle screenthis should be called at the end of program when tracer(has been used as it will ensure that all elements have been drawn even if the tracer threshold has not yet been reached pencolor(colorused to set the colour used to draw lines on the screenthe color can be specified in numerous ways including using named colours set as 'red''blue''greenor using the rgb colour codes or by specifying the color using hexadecimal numbers for more information on the named colours and rgb colour codes to use see note all colour methods use american spellings for example this method is pencolor (not pencolourfillcolor(colorused to set the colour to use to fill in closed areas within drawn lines again note the spelling of colourthe following code snippet illustrates some of these functionsimport turtle set title for your canvas window turtle title('my turtle animation'set up the screen size (in pixelsset the starting point of the turtle ( turtle setup(width= height= startx= starty= sets the pen color to red turtle pencolor('red'add this so that the window will close when clicked on turtle exitonclick(we can now look at how to actually draw shape onto the screen the cursor on the screen has several propertiesthese include the current drawing colour of the pen that the cursor movesbut also its current position (in the xy coordinates of the screenand the direction it is currently facing we have