Pythondex
Turtle Python Programs

Python Program To Draw Sharingan

Published October 24, 2023 by Jarvis Silva

In this tutorial I will show you how to draw sharingan in python, Sharingan meaning copy wheel eye allows a ninja to copy their opponents tecniques and more it is from the popular anime naruto.

To draw sharingan we will use the turtle module in python, it allows us to create graphics and animations in python so make sure you turtle installed, to install use below command:


pip install turtle

After installing turtle, open a code editor and create a python file let’s code in it.

Python code to draw Sharingan


import turtle as t

#eye circle
t.title("Sasuke Mangekyou Sharingan")
t.bgcolor('#bf0404')
t.pensize(10)
t.speed(5)
t.color('black')
t.pu()
t.goto(0,200)
t.pd()
t.fillcolor('black')
t.begin_fill()
t.circle(-200)
t.end_fill()

# internal red eyes
t.color('black')
t.pu()
t.goto(0,190)
t.pd()
t.seth(-60)
t.fillcolor('red')
t.begin_fill()
t.circle(-380,60)
t.rt(120)
t.circle(-380,60)
t.end_fill()

t.pu()
t.goto(-164.5,95)
t.pu
t.seth(0)
t.fillcolor('red')
t.begin_fill()
t.circle(-380,60)
t.rt(120)
t.circle(-380,60)
t.end_fill()

t.color('black')
t.pu()
t.goto(170.5,100)
t.pu
t.seth(-118)
t.fillcolor('red')
t.begin_fill()
t.circle(-380,60)
t.rt(120)
t.circle(-380,60)
t.end_fill()

# internal Red eyes black borders
t.color('black')
t.pu()
t.goto(0,190)
t.pd()
t.seth(-60)
t.circle(-380,60)
t.rt(120)
t.circle(-380,60)

t.color('black')
t.goto(-164.5,95)
t.seth(0)
t.circle(-380,60)
t.rt(120)
t.circle(-380,60)
t.end_fill()
t.penup()

t.goto(170.5,100)
t.seth(-118)
t.pendown()
t.circle(-380,60)
t.rt(120)
t.circle(-380,60)
t.end_fill()
t.penup()

#last internal eye circle
t.goto(5.0,-14.0)
t.pendown()
t.fillcolor('black')
t.begin_fill()
t.circle(13)
t.end_fill()

t.done()

Above is the complete code to draw sharingan in python, copy it and paste it in your python file and run or you can also use our online turtle compiler just click the run button above and below is the output you will get:

Sharingan Drawing In Python

Also Draw Naruto Using Python With Turtle

As you can see we successfully drawn sharingan using python, I hope you were able to get the same output and found this program intresting, do share it with someone who is naruto fan. Thank you for reading, Have a nice day 😊