Red Cross with Python Turtle (Source Code)

The following red cross with Python and Turtle. You need to fill it with a color.

Red Cross

Source Code:

import turtle

screen = turtle.Screen()
screen.title('Red Cross - PythonTurtle.Academy')
screen.setup(1000,1000)
turtle.speed(0)
turtle.hideturtle()
turtle.color('red')

turtle.up()
turtle.goto(-450,-150)
turtle.down()
turtle.begin_fill()
for _ in range(4):
    turtle.fd(300)
    turtle.right(90)
    turtle.fd(300)
    turtle.left(90)
    turtle.fd(300)
    turtle.left(90)      
turtle.end_fill()

Hexagon Spiral with Python and Turtle (Source Code)

Draw the following spiral with hexagon shape. In each loop, increase the forward length and turn slightly less than 60 degrees.

Hexagon Spiral

Source Code:

import turtle
screen = turtle.Screen()
screen.title('Hexagon Spiral - PythonTurtle.Academy')
turtle.setup(1000,1000)
screen.setworldcoordinates(-1000,-1000,1000,1000)
turtle.speed(0)
turtle.hideturtle()

for i in range(10,780,3):
    turtle.fd(i)
    turtle.left(59.3)

Pentagon Spiral with Python and Turtle

Draw the following spiral with pentagon shape. In each loop, increase the forward length and turn slightly less than 72 degrees.

Pentagon Spiral

Source Code:

import turtle
screen = turtle.Screen()
screen.title('Pentagon Spiral - PythonTurtle.Academy')
turtle.setup(1000,1000)
screen.setworldcoordinates(-1000,-1000,1000,1000)
turtle.speed(0)
turtle.hideturtle()

for i in range(10,1175,4):
    turtle.fd(i)
    turtle.left(71.5)

Square Spiral with Python and Turtle (Source Code)

Draw the following spiral with square shape. In each loop, increase the forward length and turn slightly less than 90 degrees.

Square Spiral

Source Code:

import turtle
screen = turtle.Screen()
screen.title('Square Spiral - PythonTurtle.Academy')
turtle.setup(1000,1000)
screen.setworldcoordinates(-1000,-1000,1000,1000)
turtle.speed(0)
turtle.hideturtle()

for i in range(10,1800,6):
    turtle.fd(i)
    turtle.left(89.7)

Triangle Spiral with Turtle (Source Code)

Draw the following spiral with triangle shape. In each loop, increase the forward length and turn slightly less than 120 degrees.

Triangle Spiral with Python and Turtle

Source Code:

import turtle
screen = turtle.Screen()
screen.title('Triangle Spiral - PythonTurtle.Academy')
turtle.setup(1000,1000)
screen.setworldcoordinates(-1000,-1000,1000,1000)
turtle.speed(0)
turtle.hideturtle()

for i in range(10,1550,9):
    turtle.fd(i)
    turtle.left(119.3)

Sixteen-Petal Flower with Python Turtle

Knowing how to draw a football shape, draw a sixteen petal flower with loop and custom function.

16-Petal Flower with Python Turtle

Code:

import turtle
turtle.title('Sixteen Petals - PythonTurtle.Academy')
turtle.setworldcoordinates(-2000,-2000,2000,2000)

def draw_football(x,y,tilt,radius):
    turtle.up()
    turtle.goto(x,y)
    turtle.down()
    turtle.seth(tilt-45)
    turtle.circle(radius,90)
    turtle.left(90)
    turtle.circle(radius,90)

for tilt in range(0,360,30): 
    draw_football(0,0,tilt,1000)