• Home
  • Privacy Policy
  • About Us
  • Contact Us
×
 Posted in allcategorites, python turtle

Draw the Shaktiman Logo using Python Turtle

 Ayush Purawr  May 17, 2022
Draw the Shaktiman Logo using Python Turtle

Introduction

Hello and welcome to violet-cat-415996.hostingersite.com. Many of us have watched the Shaktiman series which used to come on the Doordarshan channel. The kids and young children feel fantasized about the superhero Shaktiman and his dress. So in our today’s article, we are drawing the Shaktiman Logo using the Python Turtle module. We have used very simple lines of code that are easily understandable to all the beginners learning python.

The code contains comments so that each line of the code contains proper documentation and avoids confusion.

For the entire code with output, you can go to the bottom of the page and copy the code.

Let’s starts

Import turtle

import turtle

First, we will import the python turtle module to access inbuilt methods and functions.

function to draw the shape of a Circle

turtle.bgcolor("red")#background color is set to red

#function defined to pass the radius 
def drawshape(turtle,radius):
    turtle.circle(radius,extent=60)# initialize the radius of circle and the angle
    turtle.left(120)
    turtle.circle(radius,extent=60)

In this part, we have the function defined drawshape where we have initialized the turtle and the radius of the circle. The circle is passed with a radius and an angle of 60 degrees upon calling the function.

Create  a function to set the attributes for creating the flower

def drawflower():
    petal=turtle.Turtle()
    petal.color("yellow")
    petal.speed(0)
    petal.pensize(4)
    no_of_petals=15
    radius=145
    petal.begin_fill()
    for i in range(no_of_petals):
        drawshape(petal,radius)
        petal.left(360 /no_of_petals )
    petal.end_fill()

drawflower()

In this piece of code, we have created the function of drawflower. Here we have initialized the color, speed, pensize, number of petals, and radius of the flower. We have created another for loop where the loop will iterate 15 times. In the for loop, we are calling the drawshape function. The angle of the petal.left(24) is set for each circle i.e( petal.left(360/no_of_petals). The flower is filled with a yellow color that is created by the function drawflower.

Draw a round red circle

#draw the main round circle of Shaktiman Logo
turtle.pensize(4)
turtle.color("yellow","red")
turtle.goto(0,-94)
turtle.pendown()
turtle.begin_fill()
turtle.circle(95)
turtle.end_fill()

 In this part, we have drawn the round red circle above the flower shape. The radius is 95, and the position here is goto(0,-94).

Draw the first Triangle

#draw the first triangle
turtle.color("yellow")
turtle.begin_fill()
turtle.left(60)
turtle.forward(160)
turtle.left(120)
turtle.forward(160)
turtle.left(120)
turtle.forward(160)
turtle.end_fill()

We have drawn a simple triangle will pen color yellow with a forward(160) function to forward 160 steps and kept the angle of left 60 and left 120 degrees.

Draw the Second Triangle

#draw the second Triangle
turtle.penup()
turtle.color("red")
turtle.goto(-0,-70)
turtle.pendown()
turtle.begin_fill()
turtle.left(120)
turtle.forward(120)
turtle.left(120)
turtle.forward(120)
turtle.left(120)
turtle.forward(120)
turtle.end_fill()
turtle.penup()

In this part of the code, we have drawn the second inner triangle. It has the same function except the color is set to red. The position of the turtle is set to goto(-0,-70).

Draw the third and fourth triangle of the Shaktiman Logo using Python Turtle

#Draw the third triangle
turtle.color("yellow","yellow")
turtle.goto(80,-43)
turtle.pendown()
turtle.setheading(0)
turtle.left(120)
turtle.forward(160)
turtle.setheading(270)
turtle.right(30)
turtle.forward(160)
turtle.setheading(0)
turtle.forward(160)

#draw the fourth traingle
turtle.begin_fill()
turtle.backward(15)
turtle.left(90)
turtle.forward(10)
turtle.left(30)
turtle.forward(135)
turtle.right(30)
turtle.forward(13)
turtle.end_fill()
turtle.begin_fill()
turtle.backward(15)
turtle.left(150)
turtle.forward(138)
turtle.right(25)
turtle.forward(15)
turtle.end_fill()
turtle.pensize(9)
turtle.backward(10)
turtle.setheading(0)
turtle.forward(138)
turtle.penup()

Here, we have drawn the third and fourth triangles. For the third triangle, we have set the position to goto(80,-43). The set heading function directly points in the direction of 0 degrees i.e east and 270 degrees i.e south respectively.

Similar way, we have drawn the fourth triangle by setting the position and the turtle functions.

Draw the S Letter of Shaktiman Logo using Python Turtle

#draw the s letter of shaktiman
turtle.pensize(2)
turtle.goto(-28,-25)
turtle.pendown()
turtle.left(20)
turtle.begin_fill()
turtle.forward(10)
turtle.left(40)
turtle.forward(55)
turtle.right(30)
turtle.forward(20)
turtle.right(100)
turtle.forward(10)
turtle.right(80)
turtle.forward(15)
turtle.left(30)
turtle.forward(55)
turtle.right(27)
turtle.forward(20)
turtle.end_fill()

Here we have kept the size of the pen 2 and set the position to goto(-28,-25). From this location, we start to draw the S letter of the Shaktiman Logo. After completion filled with yellow color by using begin_fill and end_fill() functions.

Complete Code to Draw the Shaktiman Logo using Python Turtle

import turtle

turtle.bgcolor("red")
def drawshape(turtle,radius):
    turtle.circle(radius,extent=60)
    turtle.left(120)
    turtle.circle(radius,extent=60)

def drawflower():

    petal=turtle.Turtle()
    petal.color("yellow")
    petal.speed(0)
    petal.pensize(4)
    no_of_petals=15
    radius=145
    petal.begin_fill()
    for i in range(no_of_petals):
        drawshape(petal,radius)
        petal.left(360 /no_of_petals )
    petal.end_fill()

drawflower()

#draw the main round circle of Shaktiman Logo
turtle.pensize(4)
turtle.color("yellow","red")
turtle.goto(0,-94)
turtle.pendown()
turtle.begin_fill()
turtle.circle(95)
turtle.end_fill()


#draw the first triangle
turtle.color("yellow")
turtle.begin_fill()
turtle.left(60)
turtle.forward(160)
turtle.left(120)
turtle.forward(160)
turtle.left(120)
turtle.forward(160)
turtle.end_fill()

#draw the second Triangle
turtle.penup()
turtle.color("red")
turtle.goto(-0,-70)
turtle.pendown()
turtle.begin_fill()
turtle.left(120)
turtle.forward(120)
turtle.left(120)
turtle.forward(120)
turtle.left(120)
turtle.forward(120)
turtle.end_fill()
turtle.penup()

#Draw the third triangle
turtle.color("yellow","yellow")
turtle.goto(80,-43)
turtle.pendown()
turtle.setheading(0)
turtle.left(120)
turtle.forward(160)
turtle.setheading(270)
turtle.right(30)
turtle.forward(160)
turtle.setheading(0)
turtle.forward(160)

#draw the fourth triangle
turtle.begin_fill()
turtle.backward(15)
turtle.left(90)
turtle.forward(10)
turtle.left(30)
turtle.forward(135)
turtle.right(30)
turtle.forward(13)
turtle.end_fill()
turtle.begin_fill()
turtle.backward(15)
turtle.left(150)
turtle.forward(138)
turtle.right(25)
turtle.forward(15)
turtle.end_fill()
turtle.pensize(9)
turtle.backward(10)
turtle.setheading(0)
turtle.forward(138)
turtle.penup()

#draw the s letter of shaktiman
turtle.pensize(2)
turtle.goto(-28,-25)
turtle.pendown()
turtle.left(20)
turtle.begin_fill()
turtle.forward(10)
turtle.left(40)
turtle.forward(55)
turtle.right(30)
turtle.forward(20)
turtle.right(100)
turtle.forward(10)
turtle.right(80)
turtle.forward(15)
turtle.left(30)
turtle.forward(55)
turtle.right(27)
turtle.forward(20)
turtle.end_fill()

turtle.hideturtle()
turtle.done()

Output

Output of Shaktiman Logo using Python Turtle
Shaktiman Logo using Python Turtle

Here we have successfully completed drawing the Shaktiman Logo using the Python Turtle module. Please leave your comments in the comment box.

Thank you for reading this article.


Also Read:

  • You Can Now Run AI Fully Offline on Your Phone — Google’s Gemma 4 Just Changed Everything
  • I Built a 24×7 AI Blogging System for WordPress Using Python (Free) — Full Code Inside
  • This Reddit User “Hacked” AI With Simple Tricks… And The Results Are Insane
  • One “rm -rf” Command Almost Wiped Out $100 Million Worth of Toy Story 2
  • How to Make Money with ChatGPT in 2026: A Real Guide That Still Works
  • PicoClaw vs OpenClaw: The Tiny AI That Could Replace Powerful AI Agents
  • Oracle Layoffs 2026: People Woke Up to an Email… and Lost Their Jobs Instantly
  • X’s New Video Update Is Breaking a Basic Feature — And Users Are Not Happy
  • The Most Shocking Military Tech Yet: Robot Soldiers That Could Change Warfare Forever
  • Sora Shutdown: The Reality Check That Shook AI Video — And What Comes Next
  • Aya Expanse supports multiple languages for diverse global applications
  • Alibaba releases Page Agent on GitHub for public access
  • Google Sheets Gemini reaches new levels of performance and accuracy
  • Artificial intelligence boosts cardiac care in rural Australian communities
  • NVIDIA GTC 2026 Offers Insights into Future Artificial Intelligence Developments
  • Google DeepMind Updates Satellite Embedding Dataset with 2025 Data
  • Enhancing hierarchical instruction in advanced large language models
  • Meta supports community development near its data centers through grants
  • Exploring the world of underwater robotics through coding techniques
  • ABB Robotics partners with NVIDIA for large scale physical AI solutions
  • Why All AI Models Are Slowly Becoming the Same Model
  • Aam Aadmi vs Corrupt System: How ChatGPT Helped One Guy Expose Govt Fraud, The Story: “Ravi and The Missing Light Pole”
  • ChatGPT Asked a person to commit suicide to solve the problem
  • Viral Moment: China’s AgiBot X2 Makes History With World’s First Webster Backflip
  • Terminator Rising: Albania Hands Power to AI, Echoing a Nightmare of Human Extinction
  • What Is Albania’s World-First AI-Generated Minister and How Does It Work?
  • Does ChatGPT believe in God? ChatGPT’s Personal Opinion
  • ChatGPT vs Human: The Breath-Holding Chat That Ends in “System Failure”
  • What Is Vibe Coding? The Future of No-Code Programming and Its Impact on Software Developers
  • Struggling to Generate Ghibli-Style AI Images? Here’s the Real Working Tool That Others Won’t Tell You About!
Tagged Draw the Shaktiman Logo using Python Turtle, Python Turtle, shaktiman logo
Share:

Author: Ayush Purawr

Related Articles

  • Why Learn Python? |Explained|
    Why Learn Python? |Explained|
  • Draw Flag of USA using Python Turtle
    Draw Flag of USA using Python Turtle
  • Complete Game In PyGame and Python
    Complete Game In PyGame and Python
  • NxNxN Matrix in Python 3
    NxNxN Matrix in Python 3

Post navigation

← Draw WhatsApp Logo Using Python Turtle
Draw a boat using Python Turtle →

Search

Recent Posts

  • You Can Now Run AI Fully Offline on Your Phone — Google’s Gemma 4 Just Changed Everything
  • I Built a 24×7 AI Blogging System for WordPress Using Python (Free) — Full Code Inside
  • This Reddit User “Hacked” AI With Simple Tricks… And The Results Are Insane
  • One “rm -rf” Command Almost Wiped Out $100 Million Worth of Toy Story 2
  • How to Make Money with ChatGPT in 2026: A Real Guide That Still Works
  • PicoClaw vs OpenClaw: The Tiny AI That Could Replace Powerful AI Agents

Copyright © 2026 CopyAssignment