Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # t_line_spiral.py
- from turtle import *
- from random import randint
- screen = Screen()
- screen.setup(width=720, height=720)
- bgcolor('black')
- x = 1
- tracer(0, 0)
- colormode(255)
- while x < 500:
- a = randint(0,255)
- b = randint(0,255)
- c = randint(80,255)
- pencolor(a,b,c)
- fd(15 + x)
- rt(95)
- x = x+3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement