Skip to content

A circular graphics project is created using turtle module.

Notifications You must be signed in to change notification settings

ShivamJha298/Turtle-Graphics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Turtle-Graphics

A circular graphics project is created using turtle module. Turtle graphics provides a representation of a physical “turtle” (a little robot with a pen) that draws on a sheet of paper on the floor. It's an effective and well-proven way for learners to encounter programming concepts and interaction with software, as it provides instant, visible feedback.

Method Parameter Description:

Turtle() -- Creates and returns a new turtle object.

forward() -- Moves the turtle forward by the specified amount.

backward() -- Moves the turtle backward by the specified amount.

right() -- Turns the turtle clockwise.

left() -- Turns the turtle counterclockwise.

penup() -- Picks up the turtle’s Pen.

pendown() -- Puts down the turtle’s Pen.

up() -- Picks up the turtle’s Pen.

down() -- Puts down the turtle’s Pen.

color() -- Changes the color of the turtle’s pen.

fillcolor() -- Changes the color of the turtle will use to fill a polygon.

heading() -- Returns the current heading.

position() -- Returns the current position.

goto() -- Move the turtle to position x,y.

begin_fill() -- Remember the starting point for a filled polygon.

end_fill() -- Close the polygon and fill with the current fill color.

dot() -- Leave the dot at the current position.

stamp() -- Leaves an impression of a turtle shape at the current location.

shape() shapename Should be ‘arrow’, ‘classic’, ‘turtle’ or ‘circle’.

About

A circular graphics project is created using turtle module.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages