Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # t_50x50_Each_Pixel_A_Random_Color_Test.py
- from turtle import*
- from random import*
- ht()
- pu()
- ww=50
- hh=50
- w2=ww/2
- h2=hh/2
- R=randint
- colormode(255)
- while 1:
- tracer(0)
- for y in range(hh,0,-1):
- goto(0,y)
- for x in range(ww):
- goto(x-w2,y-h2)
- dot(3,(R(0,255),R(0,255),R(0,255)))
- update()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement