Draw Free Fire Logo In Python
Last updated July 16, 2023 by Jarvis Silva
Want to know how to draw free fire logo using python, then you are at the right place, In this tutorial using python we will draw the logo of the most popular multiplayer battleground game free fire so follow till the end.
We will use the turtle module to create this program, Turtle is a GUI library with the help of this library you can draw anything in python.
Python Code To Draw Free Fire Logo
import turtle
turtle.bgcolor('black')
turtle.pencolor('white')
turtle.speed(0)
turtle.up()
turtle.bk(600)
turtle.lt(90)
turtle.down()
turtle.fillcolor('white')
turtle.begin_fill()
turtle.fd(200)
turtle.rt(90)
turtle.fd(120)
turtle.rt(90)
turtle.fd(40)
turtle.rt(90)
turtle.fd(80)
turtle.lt(90)
turtle.fd(40)
turtle.lt(90)
turtle.fd(80)
turtle.rt(90)
turtle.fd(40)
turtle.rt(90)
turtle.fd(80)
turtle.lt(90)
turtle.fd(80)
turtle.rt(90)
turtle.fd(40)
turtle.end_fill()
turtle.up()
turtle.bk(140)
turtle.down()
turtle.rt(90)
turtle.fd(200)
turtle.begin_fill()
turtle.rt(90)
turtle.fd(80)
turtle.circle(-50,180)
turtle.lt(120)
turtle.fd(100)
turtle.rt(90)
turtle.fd(40)
turtle.rt(90)
turtle.fd(110)
turtle.seth(270)
turtle.fd(90)
turtle.rt(90)
turtle.fd(40)
turtle.end_fill()
turtle.up()
turtle.bk(40)
turtle.rt(90)
turtle.fd(140)
turtle.down()
turtle.fillcolor('black')
turtle.begin_fill()
turtle.fd(30)
turtle.rt(90)
turtle.fd(20)
turtle.circle(-20,180)
turtle.fd(20)
turtle.rt(90)
turtle.fd(10)
turtle.end_fill()
turtle.up()
turtle.fd(60)
turtle.rt(90)
turtle.fd(100)
turtle.rt(90)
turtle.down()
turtle.fillcolor('white')
turtle.begin_fill()
turtle.fd(200)
turtle.rt(180)
turtle.fd(200)
turtle.rt(90)
turtle.fd(120)
turtle.rt(90)
turtle.fd(40)
turtle.rt(90)
turtle.fd(80)
turtle.lt(90)
turtle.fd(40)
turtle.lt(90)
turtle.fd(80)
turtle.rt(90)
turtle.fd(40)
turtle.rt(90)
turtle.fd(80)
turtle.lt(90)
turtle.fd(40)
turtle.lt(90)
turtle.fd(80)
turtle.rt(90)
turtle.fd(40)
turtle.rt(90)
turtle.fd(120)
turtle.end_fill()
turtle.up()
turtle.bk(135)
turtle.down()
turtle.rt(90)
turtle.begin_fill()
turtle.fd(200)
turtle.rt(90)
turtle.fd(120)
turtle.rt(90)
turtle.fd(40)
turtle.rt(90)
turtle.fd(80)
turtle.lt(90)
turtle.fd(40)
turtle.lt(90)
turtle.fd(80)
turtle.rt(90)
turtle.fd(40)
turtle.rt(90)
turtle.fd(80)
turtle.lt(90)
turtle.fd(40)
turtle.lt(90)
turtle.fd(80)
turtle.rt(90)
turtle.fd(40)
turtle.rt(90)
turtle.fd(120)
turtle.end_fill()
turtle.up()
turtle.bk(200)
turtle.rt(90)
turtle.down()
turtle.begin_fill()
turtle.fd(200)
turtle.rt(90)
turtle.fd(120)
turtle.rt(90)
turtle.fd(40)
turtle.rt(90)
turtle.fd(80)
turtle.lt(90)
turtle.fd(40)
turtle.lt(90)
turtle.fd(80)
turtle.rt(90)
turtle.fd(40)
turtle.rt(90)
turtle.fd(80)
turtle.lt(90)
turtle.fd(80)
turtle.rt(90)
turtle.fd(40)
turtle.end_fill()
turtle.up()
turtle.bk(160)
turtle.down()
turtle.pencolor('orange')
turtle.fillcolor('orange')
turtle.begin_fill()
turtle.rt(90)
turtle.fd(60)
turtle.lt(60)
turtle.fd(30)
turtle.seth(90)
turtle.fd(10)
turtle.rt(90)
turtle.fd(20)
turtle.lt(30)
turtle.fd(20)
for i in range(4):
turtle.seth(90)
turtle.fd(15)
turtle.lt(120)
turtle.fd(20)
turtle.rt(90)
turtle.fd(5)
turtle.rt(90)
turtle.fd(22)
turtle.seth(90)
turtle.fd(20)
turtle.lt(120)
turtle.fd(20)
turtle.seth(90)
turtle.fd(20)
turtle.circle(-90,72)
turtle.rt(97)
turtle.fd(60)
turtle.seth(270)
turtle.fd(150)
turtle.lt(90)
turtle.fd(20)
turtle.rt(90)
turtle.fd(10)
turtle.rt(60)
turtle.fd(30)
turtle.lt(60)
turtle.fd(100)
turtle.rt(90)
turtle.fd(10)
turtle.rt(90)
turtle.fd(40)
turtle.lt(90)
turtle.fd(10)
turtle.lt(90)
turtle.fd(100)
turtle.rt(90)
turtle.fd(10)
turtle.rt(90)
turtle.fd(80)
turtle.lt(90)
turtle.fd(20)
turtle.lt(90)
turtle.fd(50)
turtle.rt(90)
turtle.fd(9)
turtle.rt(90)
turtle.fd(75)
turtle.end_fill()
turtle.up()
turtle.rt(90)
turtle.fd(100)
turtle.pencolor('white')
turtle.fillcolor('white')
turtle.begin_fill()
turtle.down()
turtle.lt(90)
turtle.fd(200)
turtle.rt(90)
turtle.fd(80)
turtle.circle(-50,180)
turtle.lt(120)
turtle.fd(100)
turtle.rt(90)
turtle.fd(40)
turtle.rt(90)
turtle.fd(110)
turtle.seth(270)
turtle.fd(90)
turtle.rt(90)
turtle.fd(40)
turtle.up()
turtle.end_fill()
turtle.bk(40)
turtle.rt(90)
turtle.fd(140)
turtle.down()
turtle.fillcolor('black')
turtle.begin_fill()
turtle.fd(30)
turtle.rt(90)
turtle.fd(20)
turtle.circle(-20,180)
turtle.fd(20)
turtle.rt(90)
turtle.fd(10)
turtle.end_fill()
turtle.up()
turtle.fd(60)
turtle.rt(90)
turtle.fd(100)
turtle.rt(90)
turtle.down()
turtle.fillcolor('white')
turtle.begin_fill()
turtle.fd(200)
turtle.rt(180)
turtle.fd(200)
turtle.rt(90)
turtle.fd(120)
turtle.rt(90)
turtle.fd(40)
turtle.rt(90)
turtle.fd(80)
turtle.lt(90)
turtle.fd(40)
turtle.lt(90)
turtle.fd(80)
turtle.rt(90)
turtle.fd(40)
turtle.rt(90)
turtle.fd(80)
turtle.lt(90)
turtle.fd(40)
turtle.lt(90)
turtle.fd(80)
turtle.rt(90)
turtle.fd(40)
turtle.rt(90)
turtle.fd(120)
turtle.end_fill()
turtle.ht()
turtle.done()
Above is the python code for drawing the logo of free fire, If you take a look at the code it entirely made with turtle functions and methods so let’s see how they work:
- The code uses the
turtle
module to create graphics on a turtle screen. It imports the module and initializes the turtle. - The turtle screen’s background color is set to black, and the pen color is set to white.
- The turtle’s movements are controlled using a series of commands like
turtle.up()
,turtle.down()
,turtle.fd()
, andturtle.bk()
. - The code draws various shapes and fills them with different colors, creating a complex design.
- The design includes rectangles, circles, and lines drawn in different directions and angles.
- The turtle’s pen color is changed to orange at one point in the code, and a specific shape with orange color is drawn.
- The turtle’s pen color is changed back to white, and more shapes and lines are drawn.
- The code makes use of loops, such as
for
loop, to repeat certain drawing actions. - The turtle’s movements involve a combination of forward (
fd()
) and backward (bk()
) movements, as well as rotations (lt()
andrt()
). - At the end of the code, the turtle is hidden (
turtle.ht()
) and the drawing is displayed on the screen (turtle.done()
).
Also read: Draw pubg logo using python.
After you run this program it will open a new window and it will start drawing the free fire Logo and below is the finished drawing of the logo.
As you can see, we successfully drew the free fire logo, I hope you were able to run this program successfully.
Want more amazing turtle tutorials like this check out this: Awesome Python Turtle Codes.
Here are some more python drawing tutorials for you:
- Draw Pikachu using python with code.
- Draw doraemon using python turtle.
- Draw shinchan using python turtle.
- Draw I love you using python turtle.
- Draw Batman logo using python turtle.
- Draw Google Logo using python turtle.
- Make a python calculator using turtle.
- Draw christmas tree using python.
- Draw spiderman in python programming.
- Draw Python Logo Using Python.
- Draw Iron Man using python turtle with code.
- Draw A Heart Using python turtle with code.
- Draw car in python turtle with code.
- Draw a Cat In Python Turtle With Code.
- Draw Panda In Python Turtle With Code.
- Draw Netflix Logo Using Python Turtle.
- Draw Whatsapp Logo Using Python Turtle.
- Draw Windows Logo Using Python.
- Draw Apple Logo Using Python Turtle.
- Draw YouTube Logo Using Python Turtle.
- Draw India Map In Python Turtle.
- Draw Snapchat Logo Using Python Turtle.
- Draw TikTok Logo Using Python.
- Draw Instagram Logo Using Python Turtle.
I hope you found what you were looking for from this tutorial, and if you want more python guides and tutorials like this, do join our Telegram channel for future updates.
Thanks for reading, have a nice day 🙂