Turtle is an inbuilt module in Python. It provides drawing using a screen (cardboard) and turtle (pen). To draw something on the screen, we need to move the turtle. To move turtle, there are some functions i.e forward(), backward(), etc.
In this article, we will see how to draw a smiling face emoji using the Turtle module.
1.)To draw Smile face :
Following steps are used :
- Import turtle.
- Make objects.
- Draw a circle and fill yellow color.
- Draw eyes with two circles and fill white and black color respectively.
- Draw circle for nose and fill black color.
- Draw semi circle for mouth.
- Draw semi circle for tongue and fill red color.
Below is the implementation :
Python3
import turtle
pen = turtle.Turtle()
def eye(col, rad):
pen.down()
pen.fillcolor(col)
pen.begin_fill()
pen.circle(rad)
pen.end_fill()
pen.up()
pen.fillcolor( 'yellow' )
pen.begin_fill()
pen.circle( 100 )
pen.end_fill()
pen.up()
pen.goto( - 40 , 120 )
eye( 'white' , 15 )
pen.goto( - 37 , 125 )
eye( 'black' , 5 )
pen.goto( 40 , 120 )
eye( 'white' , 15 )
pen.goto( 40 , 125 )
eye( 'black' , 5 )
pen.goto( 0 , 75 )
eye( 'black' , 8 )
pen.goto( - 40 , 85 )
pen.down()
pen.right( 90 )
pen.circle( 40 , 180 )
pen.up()
pen.goto( - 10 , 45 )
pen.down()
pen.right( 180 )
pen.fillcolor( 'red' )
pen.begin_fill()
pen.circle( 10 , 180 )
pen.end_fill()
pen.hideturtle()
|
Output :

smiling face
2. Let’s draw a different smiling emoji which is drawn above just to understand it better.
Following steps are used :
- Import turtle.
- Define pen size and pen width.
- Draw a circle .
- Draw eyes with two circles and fill red color respectively.
- Draw triangle for nose ..
- Draw semi circle for mouth.
Below is the implementation for the same:-
Python3
import turtle
turtle.pensize ( 5 )
turtle.pencolor ( "Blue" )
turtle.fillcolor ( "red" )
turtle.penup ()
turtle.goto ( 0 , - 200 )
turtle.pendown ()
turtle.circle ( 200 )
turtle.penup ()
turtle.goto ( - 100 , 50 )
turtle.pendown ()
turtle.begin_fill ()
turtle.circle ( 17.5 )
turtle.end_fill ()
turtle.penup ()
turtle.goto ( 100 , 50 )
turtle.pendown ()
turtle.begin_fill ()
turtle.circle ( 17.5 )
turtle.end_fill ()
turtle.penup ()
turtle.goto ( 0 , 50 )
turtle.pendown ()
turtle.circle ( - 70 , steps = 3 )
turtle.penup ()
turtle.goto ( - 100 , - 70 )
turtle.pendown ()
turtle.right ( 90 )
turtle.circle ( 100 , 180 )
turtle.mainloop ()
|
Output: