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

Draw WhatsApp Logo Using Python Turtle

 Ayush Purawr  May 17, 2022
Draw WhatsApp Logo Using Python Turtle

Introduction

In this tutorial, we’ll look at how to create a WhatsApp Logo Using Python Turtle module. Installing the turtle python package is required to build the WhatsApp logo. We may design any form of graph with the turtle module. See the complete code of the WhatsApp logo below.

Although Whatsapp is one of the most popular messaging apps used by people all over the world, I decided to do a lesson on how to draw its logo in Python today.

Step 1. import turtle

from turtle import *

Step 2. Setup the canvas properties.

speed(10)
Screen().bgcolor("black")

Here we set the pen speed and the background-color

Step 3. Setup the pen coordinates.

penup()
goto(-20,-20)
pendown()

First, we go to the location (-20,-20).

Step 4. Draw the first circle of 150 to draw a WhatsApp logo.

color("white")
begin_fill()
circle(150)
end_fill()

Here we set the circle color to white and the size of the circle is 150.

Step 5. Creating a triangle to the left bottom of the circle.

penup()
goto(-100,10)
pendown()
begin_fill()
right(165)
forward(100)
right(130)
forward(100)
end_fill()

After that, we use the penup function and go to the location(-100,10). Going in the right direction is 165 degrees and drawing forward to 100 pixels same as going in the right direction of 130 degrees and drawing forward 100 pixels.

Step 6. Draw another circle size of 140 and set the color to green

color("green")
penup()
goto(-30,-10)
pendown()
begin_fill()
right(70)
circle(140)
end_fill()

Here we create another circle of green color and the size of the circle is 140.

Step 7. Creating 2nd Triangle to the left bottom of the circle.

color("green")
penup()
goto(-100,20)
pendown()
begin_fill()
right(160)
forward(80)
right(130)
forward(90)
end_fill()

Step 8. Creating a Telephone Shape.

color("white")
penup()
goto(40,40)
pendown()
begin_fill()
right(60)
circle(140,-90)
right(30)
circle(50,-50)
left(90)
forward(40)
right(90)
forward(20)
penup()
goto(40,40)
pendown()
right(150)
circle(50,50)
left(80)
forward(40)
left(90)
forward(20)
left(98.5)
circle(95,-90)
end_fill()

Step 9. Creating a semicircle.

color("green")
width(2)
begin_fill()
circle(92,90)
end_fill()
left(135)
width(5)

Source code to draw WhatsApp Logo Using Python Turtle

from turtle import *

speed(10)
Screen().bgcolor("black")
penup()
goto(-20,-20)
pendown()
color("white")
begin_fill()
circle(150)
end_fill()

penup()
goto(-100,10)
pendown()
begin_fill()
right(165)
forward(100)
right(130)
forward(100)
end_fill()

color("green")
penup()
goto(-30,-10)
pendown()
begin_fill()
right(70)
circle(140)
end_fill()

color("green")
penup()
goto(-100,20)
pendown()
begin_fill()
right(160)
forward(80)
right(130)
forward(90)
end_fill()

color("white")
penup()
goto(40,40)
pendown()
begin_fill()
right(60)
circle(140,-90)
right(30)
circle(50,-50)
left(90)
forward(40)
right(90)
forward(20)
penup()
goto(40,40)
pendown()
right(150)
circle(50,50)
left(80)
forward(40)
left(90)
forward(20)
left(98.5)
circle(95,-90)
end_fill()

color("green")
width(2)
begin_fill()
circle(92,90)
end_fill()
left(135)
width(5)

penup()
forward(10)
pendown()
forward(60)

penup()
goto(-150,-100)
pendown()

hideturtle()

done()

Output

output to draw WhatsApp Logo Using Python Turtle

In this post, we created a WhatsApp Logo using the python turtle library. And Thank you for reading our post. Please visit violet-cat-415996.hostingersite.com for more turtle lessons.


Also Read:

  • 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!
  • ChatGPT vs DeepSeek: Who is the winner?
  • People are becoming AI Engineer with this free course in 2025: Here is how to join this…
  • Apply to Google’s Student Training in Engineering Program (STEP) Intern, 2025
  • Self-Driving Car Saves Falling Pedestrian, Showcases Promise of Autonomous Technology
  • Instant Karma: Employer Fires Tech Team with AI, Faces Backlash on LinkedIn While Seeking New Developers
  • LinkedIn’s COO Reveals the AI Interview Question That Could Land You the Job in 2025
  • Elon Musk’s xAI Raises $6 Billion, Valued at $45 Billion
  • Google Unveils Veo 2 and Imagen 3: A New Era of AI-Generated Content
  • Imagination to Reality, Unlocking the Future: Genesis Physics Engine for 4D Simulation
  • Simple Code to compare Speed of Python, Java, and C++?
  • Falling Stars Animation on Python.Hub October 2024
  • Most Underrated Database Trick | Life-Saving SQL Command
  • Python List Methods
  • Top 5 Free HTML Resume Templates in 2024 | With Source Code
  • How to See Connected Wi-Fi Passwords in Windows?
  • 2023 Merry Christmas using Python Turtle
  • 23 AI Tools You Won’t Believe are Free
  • Write for CopyAssignment.com | Unlock Your Potential: Join CopyAssignment.com as a Blog Writer! 🚀
  • Python 3.12.1 is Now Available
  • Best Deepfake Apps and Websites You Can Try for Fun
  • Amazon launched free Prompt Engineering course: Enroll Now
  • 10 GitHub Repositories to Master Machine Learning
  • Hello World in 35 Programming Languages
Tagged Draw WhatsApp Logo Using Python Turtle, whatsapp logo
Share:

Author: Ayush Purawr

Related Articles

  • Python | Convert all strings of a list to uppercase using lambda
  • How to See Connected Wi-Fi Passwords in Windows?
    How to See Connected Wi-Fi Passwords in Windows?
  • Python | Factorial of a number without Recursion
  • Miles Per Gallon Python Program

Post navigation

← Draw PUBG Logo Using Python Turtle
Draw the Shaktiman Logo using Python Turtle →

Search

Recent Posts

  • 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

Copyright © 2025 CopyAssignment