Advertisement
EXTREMEXPLOIT

Psy Time

Jan 23rd, 2019
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.53 KB | None | 0 0
  1. import turtle
  2. import random
  3.  
  4. Scr = turtle.Screen()
  5. Pointer = turtle.Turtle()
  6. Scr.setup(1000,800)
  7. Pointer.hideturtle()
  8. Pointer.speed(100)
  9.  
  10. Colors=["red","blue","yellow","green","cyan","black"]
  11.  
  12. X=0
  13. Y=401
  14.  
  15. print("Starting...")
  16. print(" ")
  17.  
  18. for i in range(1000):
  19.     BGColor=random.choice(Colors)
  20.     Color=random.choice(Colors)
  21.     Scr.bgcolor(BGColor)
  22.     Y-=1
  23.     Pointer.penup()
  24.     Pointer.goto(X,Y) #Initial: X=-500 Y=400
  25.     Pointer.pendown()
  26.     Pointer.pencolor(Color)
  27.     Pointer.dot(100)
  28.  
  29. print("Done!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement