In this Python turtle tutorial, we will learn how to draw Python turtle spiraling shapes in Python and we will cover the different examples related to Turtle Spiraling shapes. And, we will cover these topics.
Python turtle spiraling star shape
In this part of the python turtle tutorial, we will learn how to draw a Python turtle spiraling star shape using turtle in python.
- Star is a heavenly body which is visible at night it is also known as a luminous point it is very large but it seems like very small.
- Here we can draw a spiral star with the help of turtle and turtle is work as a pen and we can draw the star on the screen and the screen is work as drawing board.
Code:
In the following code, we will import the turtle library from which we can draw a spiral star on the screen.
- tur.title(“Pythontpoint”) is used to give the title to the window.
- turt.forward(x * 20) is used to move the turtle in the forward direction.
- turt.right(144) is used to move the turtle in the right direction.
from turtle import *
import turtle as tur
n = 20
turt = tur.Turtle()
tur.title("Pythontpoint")
for x in range(n):
turt.forward(x * 20)
turt.right(144)
tur.done()
Output:
After running the above code we get the following output in which we can see that the spiral star is drawn on the screen.

Read these tutorials also:
Python turtle spiraling square shape
In this part of the python turtle tutorial, we will learn how to draw a Python turtle spiraling square shape in python.
- Square has four equal sides and equal angles and make a plane figure and we draw a single square to moresquare as a spiral square.
- Sprial square is draw with the the help of turtle as we know the turtle is work as a pen and this spiral square is drawn on the screen and screen is work as drawing sheet.
Code:
In this code, we will import the turtle library from which we can draw a spiral square with the help of a turtle.
- tur.title(“Pythontpoint”) is used to give the title on the screen.
- turt.forward(side) is used to move the turtle in the forward direction.
- turt.right(90) is used to move the turtle in the right direction.
from turtle import *
import turtle as tur
turt = tur.Turtle()
tur.title("Pythontpoint")
side = 200
for i in range(100):
turt.forward(side)
turt.right(90)
side = side - 2
Output:
After running the above code we get the following output in which we can see that the spiraling square is drawn on the screen.

Python turtle spiraling triangle shape
In this part of the python turtle tutorial, we will learn about how to draw a Python turtle spiral triangle shape in python.
Triangle has three sides and three angles and with these three sides a plane figure or spiraling triangle is drawn and here we draw a spiraling triangle with the help of a turtle.
Code:
In the following code, we will import turtle library from which we can draw a spiral triangle on the screen.
- tur.title(“Pythontpoint”) is used to give the title to the screen.
- turt.forward(side) is used to move the turtle in the forward direction.
- turt.right(120) is used to move the turtle in the right direction.
from turtle import *
import turtle as tur
turt = tur.Turtle()
tur.title("Pythontpoint")
side = 200
for i in range(70):
turt.forward(side)
turt.right(120)
side = side - 3
Output:
After running the above code we get the following code in which we can see that the spiraling triangle is drawn on the screen.
Python turtle spiraling pentagon shape
In this part of the python turtle tutorial, we will learn how to draw a python turtle pentagon shape in python.
Pentagon has five straight side and five angles from which a plane figure and a spiraling pentagon is drawn on the screen with the help of a turtle.
Code:
In the following code, we will import the turtle library from which we can draw a spiral pentagon on the screen.
- turt.forward(side) is used to move the turtle in the forward direction.
- turt.right(72) is used to move the turtle in the right direction.
from turtle import *
import turtle as tur
turt = tur.Turtle()
side = 200
for i in range(104):
turt.forward(side)
turt.right(72)
side = side - 2
Output:
After running the above code we get the following output in which we can see that the spiraling pentagon is drawn on the screen.
Pythonturtle spiraling polygon shape
In this part of the python turtle tutorial, we will learn about how to draw a Python turtle spiraling polygon shape in python.
Polygon has at least three straight sides and three straight angles from which a plane figure or spiraling polygon is drawn on the screen.
Code:
In the following code, we will import the turtle library from which a spiral polygon is drawn on the screen.
- turt.forward(length_Of_Side) is used to move the turtle in the forward direction.
- turt.right(exteriorAngle) is used to move the turtle in the right direction.
from turtle import *
import turtle as tur
turt = tur.Turtle()
number_Of_Sides = int(input('Enter the number of sides of a polygon: '))
length_Of_Side = int(input('Enter the length of a side of a polygon: '))
exteriorAngle = 360/number_Of_Sides
for i in range(200):
turt.forward(length_Of_Side)
turt.right(exteriorAngle)
length_Of_Side = length_Of_Side - 0.5
Output:
After running the above code we get the following output in which we can see that the spiraling polygon is drawn on the screen.
So, in this tutorial, we discussed Python Turtle spiraling shapes and we have also covered different examples related to its implementation. Here is the list of examples that we have covered.
- Draw spiraling star
- Draw spiraling square
- Draw spiraling triangle
- Draw spiraling pentagon
- Draw spiraling polygon
Do follow the following tutorials also:

Comments are closed.