Drawing lord shiv using python turtle programming language |2021|apni programming|
import turtle
t1 = turtle.Turtle()
t1.pensize(0)
t1.speed(3)
#t1.color("white", "white")
t1.color("white", "blue")
turtle.bgcolor("black")
t1.begin_fill()
t1.left(90)
t1.forward(200)
t1.left(120)
t1.forward(200)
t1.left(45)
t1.forward(150)
t1.left(30)
t1.forward(100)
t1.right(30)
t1.forward(30)
t1.left(40)
t1.forward(80)
t1.left(30)
t1.forward(201)
t1.left(126)
t1.forward(110)
t1.right(80)
t1.forward(75)
t1.left(168)
t1.forward(130)
t1.right(160)
t1.forward(58)
t1.left(70)
t1.forward(40)
t1.right(45)
t1.forward(30)
t1.left(150)
t1.forward(20)
t1.right(103)
t1.forward(200)
t1.left(180)
t1.forward(30)
t1.left(160)
t1.forward(40)
t1.left(40)
t1.forward(40)
t2 = turtle.Turtle()
t2.pensize(0)
t2.speed(3)
#t2.color("white", "white")
t2.color("white", "blue")
turtle.bgcolor("black")
t2.begin_fill()
t2.right(90)
t2.backward(200)
t2.right(120)
t2.backward(200)
t2.right(45)
t2.backward(150)
t2.right(30)
t2.backward(100)
t2.left(30)
t2.backward(30)
t2.right(40)
t2.backward(80)
t2.right(30)
t2.backward(201)
t2.right(126)
t2.backward(110)
t2.left(80)
t2.backward(75)
t2.right(168)
t2.backward(130)
t2.left(160)
t2.backward(58)
t2.right(70)
t2.backward(40)
t2.left(45)
t2.backward(30)
t2.right(150)
t2.backward(20)
t2.left(103)
t2.backward(200)
t2.right(180)
t2.backward(30)
t2.right(160)
t2.backward(40)
t2.right(40)
t2.backward(40)
t2.end_fill()
t3 = turtle.Turtle()
t3.pensize(0)
t3.speed(0)
t3.color("black", "black")
t3.penup()
t3.setposition(30, 0)
t3.pendown()
t3.begin_fill()
t3.right(170)
t3.backward(80)
t3.right(170)
t3.backward(90)
t3.right(110)
t3.backward(15)
t3.end_fill()
t3.penup()
t3.left(180)
t3.backward(30)
t3.pendown()
t3.begin_fill()
t3.left(90)
t3.backward(50)
t3.right(160)
t3.backward(50)
t3.right(110)
t3.backward(20)
t3.end_fill()
t4 = turtle.Turtle()
t4.pensize(0)
t4.speed(0)
t4.color("white", "white")
t4.penup()
t4. right(90)
t4.backward(240)
t4.pendown()
t4.begin_fill()
t4.right(0)
t4.backward(40)
t4.left(100)
t4.backward(150)
t4.left(40)
t4.backward(30)
t4.left(130)
t4.backward(167)
t4.left(90)
t4.backward(50)
t4.end_fill()
t4.penup()
t4.right(0)
t4.backward(20)
t4.pendown()
t4.begin_fill()
t4.right(0)
t4.backward(20)
t4.left(85)
t4.backward(90)
t4.left(45)
t4.backward(60)
t4.left(145)
t4.backward(135)
t4.end_fill()
t4.penup()
t4.left(85)
t4.backward(50)
t4.pendown()
t4.begin_fill()
t4.right(0)
t4.backward(10)
t4.left(70)
t4.backward(60)
t4.left(80)
t4.backward(40)
t4.left(125)
t4.backward(80)
t4.end_fill()
t5 = turtle.Turtle()
t5.pensize(0)
t5.speed(0)
t5.color("black", "black")
t5.penup()
t5.setposition(-30, 0)
t5.pendown()
t5.begin_fill()
t5.left(170)
t5.forward(80)
t5.left(170)
t5.forward(90)
t5.left(110)
t5.forward(15)
t5.end_fill()
t5.penup()
t5.right(180)
t5.forward(30)
t5.pendown()
t5.begin_fill()
t5.right(90)
t5.forward(50)
t5.left(160)
t5.forward(50)
t5.left(110)
t5.forward(20)
t5.end_fill()
t6 = turtle.Turtle()
t6.pensize(0)
t6.speed(0)
t6.color("white", "white")
t6.penup()
t6.left(90)
t6.forward(240)
t6.pendown()
t6.begin_fill()
t6.left(0)
t6.forward(40)
t6.right(100)
t6.forward(150)
t6.right(40)
t6.forward(30)
t6.right(130)
t6.forward(167)
t6.right(90)
t6.forward(50)
t6.end_fill()
t6.penup()
t6.left(0)
t6.forward(20)
t6.pendown()
t6.begin_fill()
t6.left(0)
t6.forward(20)
t6.right(85)
t6.forward(90)
t6.right(45)
t6.forward(60)
t6.right(145)
t6.forward(135)
t6.end_fill()
t6.penup()
t6.right(85)
t6.forward(50)
t6.pendown()
t6.begin_fill()
t6.left(0)
t6.forward(10)
t6.right(70)
t6.forward(60)
t6.right(80)
t6.forward(40)
t6.right(125)
t6.forward(80)
t6.end_fill()
t6.penup()
t6.right(85)
t6.forward(50)
t6.pendown()
t6.begin_fill()
t6.left(0)
t6.forward(10)
t6.right(70)
t6.forward(40)
t6.right(80)
t6.forward(25)
t6.right(120)
t6.forward(50)
t6.end_fill()
t6.penup()
t6.right(90)
t6.forward(40)
t6.pendown()
t6.begin_fill()
t6.left(0)
t6.forward(40)
t6.right(150)
t6.forward(45)
t6.right(120)
t6.forward(20)
t6.end_fill()
t7 = turtle.Turtle()
t7.pensize(0)
t7.speed(0)
t7.color("white", "white")
t7.penup()
t7.setposition(-70, 530)
t7.pendown()
t7.begin_fill()
t7.right(70)
t7.forward(60)
t7.right(60)
t7.forward(50)
t7.right(40)
t7.forward(60)
t7.right(170)
t7.forward(60)
t7.left(30)
t7.forward(30)
t7.left(45)
t7.forward(60)
t7.end_fill()
t8 = turtle.Turtle()
t8.pensize(0)
t8.speed(0)
t8.color("white", "white")
t8.penup()
t8.setposition(5, 500)
t8.pendown()
t8.begin_fill()
t8.left(20)
t8.forward(100)
t8.right(90)
t8.forward(600)
t8.left(175)
t8.forward(630)
t8.left(75)
t8.forward(60)
t8.left(46)
t8.forward(110)
t8.end_fill()
t9 = turtle.Turtle()
t9.pensize(0)
t9.speed(0)
t9.color("white", "white")
t9.penup()
t9.setposition(-230, -40)
t9.pendown()
t9.begin_fill()
t9.right(75)
t9.forward(110)
t9.right(40)
t9.forward(120)
t9.right(140)
t9.forward(90)
t9.right(30)
t9.forward(80)
t9.right(100)
t9.forward(30)
t9.left(118)
t9.forward(70)
t9.end_fill()
t9.penup()
t9.right(177)
t9.forward(120)
t9.pendown()
t9.color("black", "black")
t9.begin_fill()
t9.right(35)
t9.forward(60)
t9.right(125)
t9.forward(40)
t9.right(45)
t9.forward(60)
t9.right(125)
t9.forward(50)
t9.end_fill()
t10 = turtle.Turtle()
t10.pensize(0)
t10.speed(0)
t10.color("white", "white")
t10.penup()
t10.setposition(230,-40)
t10.pendown()
t10.begin_fill()
t10.left(75)
t10.backward(110)
t10.left(40)
t10.backward(120)
t10.left(140)
t10.backward(90)
t10.left(30)
t10.backward(80)
t10.left(100)
t10.backward(30)
t10.right(118)
t10.backward(70)
t10.end_fill()
t10.penup()
t10.left(177)
t10.backward(120)
t10.pendown()
t10.color("black", "black")
t10.begin_fill()
t10.left(35)
t10.backward(60)
t10.left(125)
t10.backward(40)
t10.left(45)
t10.backward(60)
t10.left(125)
t10.backward(50)
t10.end_fill()
t1.end_fill()
t1.hideturtle()
t5.hideturtle()
t6.hideturtle()
t7.hideturtle()
t8.hideturtle()
t9.hideturtle()
turtle.done()
Comments
Post a Comment