Advertisement
EXTREMEXPLOIT

Random Points Sky

Nov 10th, 2018
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.71 KB | None | 0 0
  1. import random
  2. import turtle
  3.  
  4. Scr = turtle.Screen()
  5. Pointer = turtle.Turtle()
  6.  
  7. def RandomPoint_Sky(L):
  8.     Colors  = ["red","green","blue","orange","purple","pink","yellow","black","aqua","chartreuse1","darkviolet","peachpuff4"]
  9.     for i in range(L):
  10.         rx=random.randint(-350,350)
  11.         ry=random.randint(-350,350)
  12.         rsize=random.randint(0,25)
  13.         rcolor=random.choice(Colors)
  14.        
  15.         Pointer.penup()
  16.         Pointer.goto(rx,ry)
  17.         Pointer.pensize(rsize)
  18.         Pointer.color(rcolor,rcolor)
  19.         Pointer.speed(100)
  20.        
  21.         Pointer.pendown()
  22.         Pointer.begin_fill()
  23.         Pointer.circle(rsize)
  24.         Pointer.end_fill()
  25.        
  26. RandomPoint_Sky(100)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement