SenpaiZero

Untitled

Sep 27th, 2024
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.58 KB | None | 0 0
  1.  
  2.  
  3. def MountainRight():
  4.     PenSouth()
  5.     Forward(350)
  6.     t.setheading(-45)
  7.     Start("#363636")
  8.     Forward(1000)
  9.     Backward(1000)
  10.     PenSouth()
  11.     Forward(1500)
  12.     PenEast()
  13.     Forward(1500)
  14.     End()
  15.  
  16. def MountainLeft():
  17.     PenSouth()
  18.     Backward(150)
  19.     Start("#515151")
  20.     t.setheading(-135)
  21.     Forward(1000)
  22.     Backward(1000)
  23.     PenSouth()
  24.     Forward(1000)
  25.     PenWest()
  26.     Forward(1000)
  27.     End()
  28.  
  29. def SunDetails():
  30.     PenNorth()
  31.     t.penup()
  32.     Forward(200)
  33.     PenEast()
  34.  
  35.     Start(bg_color)
  36.  
  37.     t.left(90)
  38.     t.circle(50, 85)
  39.     t.circle(15, 110)
  40.     t.right(180)
  41.  
  42.     t.circle(30, 150)
  43.     t.right(5)
  44.     Forward(10)
  45.  
  46.     t.right(90)
  47.     t.circle(-70, 140)
  48.     Forward(40)
  49.     t.right(110)
  50.  
  51.     t.circle(100, 30)
  52.     t.circle(30, 100)
  53.     t.left(50)
  54.     t.forward(50)
  55.     t.right(145)
  56.  
  57.     Forward(30)
  58.     t.left(55)
  59.     Forward(10)
  60.  
  61.     t.forward(10)
  62.     t.left(55)
  63.     t.forward(30)
  64.  
  65.     t.right(145)
  66.     Forward(50)
  67.     t.left(50)
  68.     t.circle(30, 100)
  69.     t.circle(100, 30)
  70.  
  71.     t.right(90)
  72.     t.right(20)
  73.     Forward(40)
  74.     t.circle(-70, 140)
  75.  
  76.     t.right(90)
  77.     Forward(10)
  78.     t.right(5)
  79.     t.circle(30, 150)
  80.  
  81.     t.left(180)
  82.     t.circle(15, 110)
  83.     t.circle(50, 85)
  84.     End()
  85.  
  86. Sun()
  87. MountainRight()
  88. t.home()
  89. MountainLeft()
  90. t.home()
  91. SunDetails()
  92.  
  93. t.color("White")
  94. t.penup()
  95. t.setpos(0, -450)
  96. t.pendown()
  97.  
  98. t.write("BATMAN IN THE MIDDLE OF MOUNTAIN", font=("Verdana",
  99.                                     32, "bold"), align="center")
  100. t.penup()
  101. t.setpos(999, 999)
  102.  
  103. turtle.done()
Advertisement
Add Comment
Please, Sign In to add comment