May-12-2022, 07:10 PM
To keep the ball rolling, here is my Python interpretation of one of the three programs that got this ball rolling so many years ago. Can anyone get it down to a single line?
import turtle,random turtle.hideturtle() turtle.colormode(255) turtle.tracer(0,0) turtle.setup(0.75,0.80, starty = 25) maxx = turtle.screensize()[0] #doesn't match the actually window width for some reason maxy = turtle.screensize()[1] while True: turtle.color((random.randint(0,255),random.randint(0,255),random.randint(0,255))) turtle.width(random.randint(1,10)) x = random.randint(-maxx,maxx) y = random.randint(-maxy,maxy) turtle.goto(x,y) turtle.update()