How to Make a Dog Face Using Python Turtle

In this Python tutorial, we will learn How to Make a Dog Fae Using Python Turtle. In this tutorial, we split the code and explain How we can Make a Dog Face by using Python Turtle.

How to Make a Dog Face Using Python Turtle

Now start this project, firstly importing the turtle library such as import turtle as tur.

# How to Make a Dog Face Using Python Turtle
#Imported turtle
import turtle as tur

Github Link

Check this code in Repository from Github and you can also fork this code.

Github User Name: PythonT-Point

After importing the turtle library we are creating an object for this turtle and also give a title to the screen.

#set the turtle object
turt=tur.Turtle()
tur.title("Pythontpoint")
screen=turt.getscreen()
screen.bgcolor("light yellow")

After that, we are using the function to create the face of the dog. For creating the face, we have to use the following functions.

  • turt.pencolor(“tan1”) is used as pen color.
  • turt.pensize(3) is used to give the size of the pen.
  • turt.goto(30,-30) is used to move the turtle at its accurate position.
  • turt.pendown() is used to start drawing on the screen with the help of the turtle.
  • turt.begin_fill() is used to start filling the color in the shape.
  • turt.circle(45,180) is used to draw the circle on the screen.
  • turt.right(90) is used to move the turtle in the right direction.
  • turt.forward(55) is used to move the turtle in the forward direction.
  • turt.penup() is used to stop the drawing.
  • turt.end_fill() is used to stop filling the color in the shape.
# How to Make a Dog Face Using Python Turtle
#Drawing the face of the dog
turt.pencolor("tan1")
turt.color("tan1")
turt.pensize(3)
turt.penup()
turt.setheading(90)
turt.goto(30,-30)
turt.pendown()
turt.begin_fill()
turt.circle(45,180)
turt.right(90)
turt.goto(-45,-30)
turt.circle(35,190)
turt.setheading(0)
turt.forward(55)
turt.penup()
turt.setheading(0)
turt.pendown()
turt.circle(35,170)
turt.penup()
turt.end_fill()

After that, we are using the function to create the tongue of the dog. For creating the tongue we are using the following function.

  • turt.pencolor(“Deeppink1”) is used to give the color to the pen.
  • turt.goto(-10,-90) is used to move the turtle at its accurate position.
  • turt.right(60) is used to move the turtle in the right direction.
  • turt.pendown() is used to start the drawing on the screen.
  • turt.begin_fill() is used to start filling the color in the shape.
  • turt.forward(15) is used to move the turtle in the forward direction.
  • turt.left(60) is used to move the turtle in the left direction.
  • turt.end_fill() is used to stop filling color.
#Create the tongue of the dog
turt.pencolor("Deeppink1")
turt.color("pink")
turt.setheading(270)
turt.goto(-10,-90)
turt.right(60)
turt.pendown()
turt.begin_fill()
turt.forward(15)
turt.left(60)
turt.forward(10)
turt.circle(10,180)
turt.forward(10)
turt.left(60)
turt.forward(15)
turt.end_fill()

Now we are using the function to make the line on the tongue. For drawing the line on the tongue we are using the following function.

  • turt.pensize(1) is used to give the size of the pen.
  • turt.pencolor(“DeepPink”) is used to give the color to the pen.
  • turt.goto(-13,-90) is used to move the turtle at its accurate position.
  • turt.forward(17) is used to move the turtle in the forward direction.
  • turt.circle(4,180) is used to make the circle by using a turtle.
  • turt.left(90) is used to move the turtle in the left direction.
  • turt.pendown() is used to start the drawing on the screen.
#line on the tongue
turt.pensize(1)
turt.pencolor("DeepPink")
turt.goto(-13,-90)
turt.setheading(270)
turt.forward(17)
turt.circle(4,180)
turt.penup()
turt.left(90)
turt.forward(8)
turt.goto(-13,-107)
turt.setheading(270)
turt.left(180)
turt.pendown()
turt.circle(4,-180)

Now we’re using the function to create the right and left ears of the dog. For drawing the ears we are using the following function.

  • turt.penup() is used to stop the drawing.
  • turt.pencolor(“black”) is used to give the color to the pen.
  • turt.pendown() is used to start the drawing on the screen.
  • turt.begin_fill() is used to start filling the color in the shape.
  • turt.forward(10) is used to move the turtle in the forward direction.
  • turt.left(60) is used to move the turtle in the left direction.
  • turt.circle(35,145) is used to draw the circle.
  • turt.end_fill() is used to stop filling color in the shape.
#right ear
turt.penup()
turt.goto(42,-45)
turt.pencolor("black")
turt.color("sienna")
turt.setheading(0)
turt.pendown()
turt.begin_fill()
turt.forward(10)
turt.left(60)
turt.circle(35,145)
turt.end_fill()

#left ear
turt.penup()
turt.goto(-70,-45)
turt.pendown()
turt.setheading(180)
turt.begin_fill()
turt.forward(10)
turt.left(-240)
turt.circle(35,-145)
turt.end_fill()
turt.penup()

After that, we are using the function to make the eyes of the dog. For drawing the eyes we are using the following function.

  • turt.color(“black”) is used to give color to the shape.
  • turt.pendown() is used to start the drawing on the screen.
  • turt.begin_fill() is used to start filling the color in the shape.
  • turt.circle(10,180) is used to draw the shep of the circle.
  • turt.forward(5) is used to move the turtle in the forward direction.
  • turt.end_fill() is used to stop filling color in the shape.
  • turt.penup() is used to stop the drawing.
# How to Make a Dog Face Using Python Turtle
#eyes
turt.pencolor("black")
turt.color("black")
turt.goto(-5,-45)
turt.setheading(270)
turt.pendown()
turt.begin_fill()
turt.circle(10,180)
turt.forward(5)
turt.circle(10,180)
turt.forward(5)
turt.end_fill()
turt.penup()

turt.pencolor("black")
turt.color("black")
turt.goto(-45,-45)
turt.setheading(270)
turt.pendown()
turt.begin_fill()
turt.circle(10,180)
turt.forward(5)
turt.circle(10,180)
turt.forward(5)
turt.end_fill()
turt.penup()

Now, we are using the function to make the inner white dots in the eyes of the dog. For drawing the inner white dots in the eyes we are using the following function.

  • turt.color(“white”) is used to give the white color to the dots.
  • turt.goto(-2,-44) is used to move the turtle to its accurate position.
  • turt.begin_fill() is used to start filling the color in the shape.
  • turt.circle(6) is used to draw the shape of the circle.
# Inner white dots in the eye
turt.color("white")
turt.goto(-2,-44)
turt.begin_fill()
turt.circle(6)
turt.end_fill()

turt.color("white")
turt.goto(-40,-44)
turt.begin_fill()
turt.circle(6)
turt.end_fill()

Now, we are using the function to make the nose of the dog. For drawing the nose we are using the following function.

  • turt.color(“black”) is used to give the black color to the nose.
  • turt.goto(-25,-75) is used to move the turtle at its accurate position.
  • turt.begin_fill() is used to start filling the color in the shape.
  • turt.circle(2) is used to draw the shape of the circle.
  • turt.hideturtle() is used to hide the turtle on the screen.
# How to Make a Dog Face Using Python Turtle
#Nose of the dog
turt.color("black")
turt.goto(-25,-75)
turt.begin_fill()
turt.circle(10)
turt.end_fill()
turt.goto(-14,-73)
turt.color("white")
turt.begin_fill()
turt.circle(2)
turt.end_fill()
turt.goto(-20,-73)
turt.color("white")
turt.begin_fill()
turt.circle(2)
turt.end_fill()
turt.goto(-17,-77)
turt.color("white")
turt.begin_fill()
turt.circle(2)
turt.end_fill()
turt.hideturtle()
tur.done()

After splitting the code and explaining How to Make a Dog Face Using Python Turtle. Now we will see how the output looks like after running the whole code.

# How to Make a Dog Face Using Python Turtle
# How to Make a Dog Face Using Python Turtle

#Imported turtle
import turtle as tur

#set the turtle object
turt=tur.Turtle()
tur.title("Pythontpoint")
screen=turt.getscreen()
screen.bgcolor("light yellow")

#Drawing the face of the dog
turt.pencolor("tan1")
turt.color("tan1")
turt.pensize(3)
turt.penup()
turt.setheading(90)
turt.goto(30,-30)
turt.pendown()
turt.begin_fill()
turt.circle(45,180)
turt.right(90)
turt.goto(-45,-30)
turt.circle(35,190)
turt.setheading(0)
turt.forward(55)
turt.penup()
turt.setheading(0)
turt.pendown()
turt.circle(35,170)
turt.penup()
turt.end_fill()

#Create the tongue of the dog
turt.pencolor("Deeppink1")
turt.color("pink")
turt.setheading(270)
turt.goto(-10,-90)
turt.right(60)
turt.pendown()
turt.begin_fill()
turt.forward(15)
turt.left(60)
turt.forward(10)
turt.circle(10,180)
turt.forward(10)
turt.left(60)
turt.forward(15)
turt.end_fill()

#line on the tongue
turt.pensize(1)
turt.pencolor("DeepPink")
turt.goto(-13,-90)
turt.setheading(270)
turt.forward(17)
turt.circle(4,180)
turt.penup()
turt.left(90)
turt.forward(8)
turt.goto(-13,-107)
turt.setheading(270)
turt.left(180)
turt.pendown()
turt.circle(4,-180)



#right ear
turt.penup()
turt.goto(42,-45)
turt.pencolor("black")
turt.color("sienna")
turt.setheading(0)
turt.pendown()
turt.begin_fill()
turt.forward(10)
turt.left(60)
turt.circle(35,145)
turt.end_fill()

#left ear
turt.penup()
turt.goto(-70,-45)
turt.pendown()
turt.setheading(180)
turt.begin_fill()
turt.forward(10)
turt.left(-240)
turt.circle(35,-145)
turt.end_fill()
turt.penup()


#eyes
turt.pencolor("black")
turt.color("black")
turt.goto(-5,-45)
turt.setheading(270)
turt.pendown()
turt.begin_fill()
turt.circle(10,180)
turt.forward(5)
turt.circle(10,180)
turt.forward(5)
turt.end_fill()
turt.penup()

turt.pencolor("black")
turt.color("black")
turt.goto(-45,-45)
turt.setheading(270)
turt.pendown()
turt.begin_fill()
turt.circle(10,180)
turt.forward(5)
turt.circle(10,180)
turt.forward(5)
turt.end_fill()
turt.penup()

# Inner white dots in the eye
turt.color("white")
turt.goto(-2,-44)
turt.begin_fill()
turt.circle(6)
turt.end_fill()

turt.color("white")
turt.goto(-40,-44)
turt.begin_fill()
turt.circle(6)
turt.end_fill()

#Nose of the dog
turt.color("black")
turt.goto(-25,-75)
turt.begin_fill()
turt.circle(10)
turt.end_fill()
turt.goto(-14,-73)
turt.color("white")
turt.begin_fill()
turt.circle(2)
turt.end_fill()
turt.goto(-20,-73)
turt.color("white")
turt.begin_fill()
turt.circle(2)
turt.end_fill()
turt.goto(-17,-77)
turt.color("white")
turt.begin_fill()
turt.circle(2)
turt.end_fill()
turt.hideturtle()
tur.done()

After running the above code we get the following output in which we can see that the face of the dog is beautifully drawn on the screen.

How to Make a Dog Face Using Python Turtle
How to Make a Dog Face Using Python Turtle

So, in this tutorial, we have illustrated How to Make a Dog Face Using Python Turtle. Moreover, we have also discussed the whole code used in this tutorial.

Read some more tutorials related to Python Turtle.

Python Turtle Snake Game

Python Turtle Chess Game

97 thoughts on “How to Make a Dog Face Using Python Turtle”

  1. It is appropriate time to make a few plans for the longer term and it’s time to be happy. I have read this post and if I may I want to recommend you few fascinating issues or advice. Maybe you can write subsequent articles regarding this article. I want to learn even more things about it!

    Reply
  2. I precisely needed to say thanks yet again. I do not know what I might have gone through in the absence of these pointers revealed by you relating to that subject. It was actually a very troublesome situation in my view, but taking note of your expert technique you processed that took me to cry over contentment. I’m happier for your guidance as well as wish you comprehend what a powerful job you are providing instructing people today using a blog. I know that you’ve never got to know any of us.

    Reply
  3. Temp Mail You’re so awesome! I don’t believe I have read a single thing like that before. So great to find someone with some original thoughts on this topic. Really.. thank you for starting this up. This website is something that is needed on the internet, someone with a little originality!

    Reply
  4. You actually make it seem so easy together with your presentation however I in finding this topic to be actually something which I believe I might never understand. It sort of feels too complicated and extremely wide for me. I am having a look forward on your subsequent publish, I?¦ll attempt to get the cling of it!

    Reply
  5. A person essentially help to make seriously posts I would state. This is the first time I frequented your web page and thus far? I surprised with the research you made to create this particular publish extraordinary. Magnificent job!

    Reply
  6. Nice read, I just passed this onto a friend who was doing some research on that. And he just bought me lunch as I found it for him smile Thus let me rephrase that: Thank you for lunch! “He who walks in another’s tracks leaves no footprints.” by Joan Brannon.

    Reply
  7. My brother recommended I might like this web site He was totally right This post actually made my day You cannt imagine just how much time I had spent for this information Thanks

    Reply
  8. There are certainly numerous particulars like that to take into consideration. That is a nice level to carry up. I offer the thoughts above as common inspiration however clearly there are questions just like the one you convey up where an important factor shall be working in honest good faith. I don?t know if greatest practices have emerged round things like that, but I am positive that your job is clearly identified as a fair game. Each boys and girls feel the affect of just a moment’s pleasure, for the rest of their lives.

    Reply
  9. There are certainly plenty of particulars like that to take into consideration. That is a great level to convey up. I supply the thoughts above as general inspiration however clearly there are questions like the one you bring up the place crucial thing will probably be working in sincere good faith. I don?t know if finest practices have emerged around issues like that, however I am sure that your job is clearly recognized as a fair game. Each girls and boys really feel the influence of only a moment’s pleasure, for the rest of their lives.

    Reply
  10. Hi there, just became aware of your blog through Google, and found that it’s really informative. I am gonna watch out for brussels. I’ll appreciate if you continue this in future. Many people will be benefited from your writing. Cheers!

    Reply
  11. I was very pleased to find this web-site.I wanted to thanks for your time for this wonderful read!! I definitely enjoying every little bit of it and I have you bookmarked to check out new stuff you blog post.

    Reply
  12. What i dont understood is in reality how youre now not really a lot more smartlyfavored than you might be now Youre very intelligent You understand therefore significantly in terms of this topic produced me personally believe it from a lot of numerous angles Its like women and men are not interested except it is one thing to accomplish with Woman gaga Your own stuffs outstanding Always care for it up

    Reply
  13. I do believe all the ideas youve presented for your post They are really convincing and will certainly work Nonetheless the posts are too short for novices May just you please lengthen them a little from subsequent time Thanks for the post

    Reply
  14. We are a group of volunteers and starting a new scheme in our community.

    Your website offered us with valuable info to work on. You’ve done a formidable job and our entire community will be thankful to you.!

    Reply
  15. Hi! Do you know if they make any plugins to assist with Search Engine
    Optimization? I’m trying to get my site to rank for
    some targeted keywords but I’m not seeing very good gains.
    If you know of any please share. Many thanks!

    I saw similar blog here: Eco blankets

    Reply
  16. Presumably the magazine doesn’t do deals with each source that it reproduces, so how does copyright law allow them to re-print editorial content that they don’t own without paying royalties?. . Also, can this law be applied internationally?.

    Reply
  17. You made some really good points there. I checked on the internet to find out more about the issue and found most people will go along with your views on this site.

    Reply
  18. Nice post. I learn something new and challenging on websites I stumbleupon every day. It will always be interesting to read through content from other authors and use something from other websites.

    Reply
  19. Having read this I believed it was very informative. I appreciate you taking the time and effort to put this article together. I once again find myself spending a lot of time both reading and commenting. But so what, it was still worthwhile!

    Reply
  20. Having read this I thought it was really informative. I appreciate you taking the time and energy to put this short article together. I once again find myself spending a lot of time both reading and posting comments. But so what, it was still worth it!

    Reply
  21. Next time I read a blog, I hope that it does not disappoint me just as much as this particular one. After all, I know it was my choice to read, but I really thought you would have something interesting to talk about. All I hear is a bunch of whining about something that you can fix if you weren’t too busy looking for attention.

    Reply
  22. There are a handful of fascinating points on time in this post but I do not determine if them all center to heart. There’s some validity but I am going to take hold opinion until I look into it further. Good article , thanks therefore we want far more! Added onto FeedBurner too

    Reply
  23. An interesting dialogue is price comment. I feel that it is best to write more on this matter, it may not be a taboo topic however usually individuals are not enough to talk on such topics. To the next. Cheers

    Reply
  24. Nice post. I learn something harder on distinct blogs everyday. Most commonly it is stimulating to learn content from other writers and exercise a specific thing from their store. I’d choose to use some while using content in my weblog whether you don’t mind. Natually I’ll supply you with a link in your internet blog. Thank you for sharing.

    Reply
  25. Congratulations on having Hands down the most sophisticated blogs Ive come throughout in most time! Its just incredible how much you can detract from a thing mainly because of how visually beautiful it’s. Youve put collectively a very good blog space -great graphics, videos, layout. This really is undoubtedly a must-see weblog!

    Reply
  26. I’m impressed, I must say. Very rarely do I come across a blog that’s both informative and entertaining, and let me tell you, you’ve hit the nail on the head. Your blog is important, the issue is something that not enough people are talking intelligently about

    Reply
  27. You actually make it seem so easy with your presentation but I find this topic to be really something that I think I would never understand. It seems too complicated and very broad for me. I’m looking forward for your next post, I’ll try to get the hang of it!

    Reply
  28. After study some of the blogs for your site now, we genuinely as if your technique for blogging. I bookmarked it to my bookmark web site list and you will be checking back soon. Pls consider my internet site likewise and tell me what you consider.

    Reply
  29. There couple of fascinating points in time here but I don’t know if I see them all center to heart. There exists some validity but I will take hold opinion until I check into it further. Good write-up , thanks and then we want much more! Added onto FeedBurner also

    Reply
  30. Can I say what a relief to get somebody who really knows what theyre talking about online. You actually know how to bring a problem to light and work out it essential. Workout . must check out this and understand why side from the story. I cant think youre no more common since you also undoubtedly possess the gift.

    Reply
  31. An example of this can be Atypical Mole Syndrome. This syndrome brings about a tendency within the body to type an excessive amount of moles on our skin. This really is something that we could have obtained from our parents or our grandparents and we’ve no manage over whether or not we receive it or not.

    Reply
  32. Thank you for the sensible critique. Me & my friend were just preparing to do a little research about this. We got a book from our area library but I think I learned better from this post. I am very glad to see such wonderful info being shared freely out there…

    Reply
  33. When I originally commented I clicked the “Notify me when new comments are added” checkbox and now each time a comment is added I get several e-mails with the same comment. Is there any way you can remove me from that service? Thank you!

    Reply
  34. I discovered your blog web site on google and check a few of your early posts. Proceed to keep up the excellent operate. I just additional up your RSS feed to my MSN News Reader. Looking for ahead to studying extra from you later on!…

    Reply

Leave a Comment