Skip to content

Latest commit

 

History

History
 
 

Codes on Turtle Graphics

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Codes on Turtle Graphics

turtle is a pre installed library in Python that enables us to create pictures and shapes by providing them with a virtual canvas. The onscreen pen that we use to draw is called turtle.

Requirements

1. Python Environment:

Use applications like Python IDLE or Jupyter Notebook.

2. Python Version:

Ensure you have version 3 of Python.

With the turtle library of Python, we can draw several shapes and figures. Here's two samples we can create with turtles's library.

1. Animated Robot

This is a simple figure we can create to understand basics of turtle graphics.

2. Kaleido Spiral

In this, we will draw circles and squares in continuation. Everytime we will change the radius of circle and side dimension of square to make it look like a expanding squares and circles.