How To Draw Ganesh Ji In Python Turtle Graphics | Ganesh Chaturthi Drawing in Python Turtle | Vinayaka Chaturthi wishes using Python Turtle
In this post i provide Python Turtle Graphics Coding by Which I create Ganesh Ji Drawing.
#_________ WELCOME ALL OF YOU ON COMPUTER SOFT SKILLS CHANNEL __________
#............... Happy Ganesh Chaturthi Drawing USING PYHON TURTLE GRAPHICS ......................
from turtle import *
import turtle
wn = turtle.Screen()
wn.setup(width=1000, height=800)
wn.title("COMPUTER SOFT SKILLS :- Ganesh Chaturthi")
bgcolor("bisque")
color("darkred")
pensize(7)
speed(2)
left(60)
forward(50)
left(15)
circle(100,90)
forward(30)
pensize(10)
penup()
right(90)
forward(20)
pendown()
#1th head curve
color("blue")
right(40)
circle(-50,90)
forward(20)
left(150)
#2nd head curve
penup()
forward(40)
left(20)
pendown()
circle(50,90)
#trunk
color("darkred")
penup()
goto(0,0)
pensize(7)
pendown()
left(30)
forward(120)
circle(60,270)
#eyes
color("black")
penup()
forward(30)
right(50)
forward(135)
pendown()
pensize(8)
circle(50,90)
left(95)
penup()
circle(60,75)
#eyebrows
penup()
forward(15)
left(90)
pensize(4)
pendown()
circle(70,90)
#ears
color("orangered")
pensize(7)
penup()
forward(75)
right(90)
forward(20)
pendown()
circle(90,90)
forward(20)
circle(30,170)
right(180)
circle(28,180)
right(160)
circle(25,180)
right(160)
circle(22,160)
forward(20)
circle(60,45)
#trunk
penup()
goto(0,0)
left(130)
forward(140)
right(250)
backward(20)
circle(80,20)
circle(20,40)
right(110)
penup()
forward(20)
pendown()
pensize(13)
forward(50)
circle(100,80)
pensize(9)
circle(150,50)
pensize(10)
circle(100,60)
pensize(7)
circle(90,60)
pensize(6)
circle(40,60)
circle(10,90)
#head
pensize(9)
color("purple")
penup()
goto(0,0)
goto(-90,290)
right(230)
pendown()
circle(-100,50)
circle(200,20)
circle(50,30)
right(180)
circle(50,30)
circle(200,20)
circle(-100,40)
right(95)
penup()
forward(40)
right(90)
pendown()
circle(100,40)
penup()
circle(35,120)
right(30)
pendown()
pensize(5)
circle(60,50)
#eye
penup()
goto(-70,90)
fillcolor("dimgray")
begin_fill()
circle(20,180)
end_fill()
penup()
left(75)
fillcolor("red")
begin_fill()
circle(70,35)
end_fill()
left(180)
backward(10)
pendown()
left(6)
pensize(5)
color("red")
circle(-80,40)
penup()
goto(0,0)
color("red")
penup()
goto(-250,-60)
left(118)
forward(240)
right(-25)
pendown()
circle(90,65)
penup()
hideturtle()
# WRITE TEXT
penup()
goto(175,-5)
pendown()
color('orangered')
style = ('ARIAL BLACK',50,'bold')
write('HAPPY', font=style, align='left',move=True)
hideturtle()
penup()
goto(155,-90)
pendown()
style = ('ARIAL BLACK',50,'bold')
color('crimson')
write('GANESH', font=style, align='left',move=True)
hideturtle()
penup()
goto(140,-165)
pendown()
color('deeppink')
style = ('ARIAL BLACK',40,'bold')
write('CHATURTHI', font=style, align='left', move=True)
hideturtle()
done()
0 Comments