Turtle Programs

Draw Captain America Shield Using Python With Code

Draw Captain America Shield Using Python With Code

Want to draw captain america shield using python then you are at the right place, today I will show you how to draw captain america shield using python turtle. I will provide you with the code of this program, so read till the end.

Captain America is one of the most popular character in the marvel universe. I am a marvel fan. I watch each and every marvel movie, so I decided to create this program that will draw captain america shield in python.

To draw captain america shield in python I will use the turtle python library which is a GUI library and can be used to draw things you want.

Captain America Shield Python Code

import turtle
import math

ca = turtle.Turtle()

def func_1(x, y):
    ca.goto(x, y)

def circle(r, color):
    x_point = 0
    y_pont = -r
    func_1(x_point, y_pont)

def star(r, color):
    func_1(0, 0)
    for i in range(5):
        ca.forward(math.cos(math.radians(18)) * 2 * r)  # 2cos18°*r

if __name__ == '__main__':
    circle(288, 'crimson')
    circle(234, 'snow')
    circle(174, 'crimson')
    circle(114, 'blue')
    star(114, 'snow')

Above is the code for drawing captain america shield in python now first create a new folder for this project, open it in code editor, create a python file and copy and paste the above code in it.

The turtle library which we used comes installed when you set up python on your computer so you don’t have to install it manually but still if you get some error like turtle module is missing then use the below command.

pip install turtle

The above command will install the python turtle module. If you don’t have python installed or setup, then you can refer to this article: Install and setup python.

Now you can run this program on your computer or use an online python compiler to run it now below is the image output of this program

Drawing Captain america shield using python output

That is my friend is a captain america shield made using python programming, it looks cool doesn’t it.


This was the tutorial on how to draw a captain america shield using python turtle programming. I hope you found this tutorial interesting and useful.

Do share this guide with your friends and family if they watch marvel movies they are definitely going to like this.

Here are more guides about drawing in python:

I hope you found what you were looking for and if you want more python drawing tutorials like this do join our Telegram channel for future updates.

Thanks for reading, have a nice day 🙂