import turtle
import random
game = turtle.Screen()
turtle.speed(0)
turtle.bgcolor('black')
turtle.color('white')
turtle.pensize(4)
acc_ext = 0
x=10
turtle.penup()
turtle.goto(0,-x)
turtle.pendown()
for i in range(600):
    turtle.color(random.choice(['white','black']))
    ext = random.random()*90
    turtle.circle(x,ext)
    acc_ext +=ext
    if acc_ext>360:
        acc_ext=0
        turtle.up()
        turtle.goto(0, -x)
        turtle.setheading(0)
        turtle.down()
        x=x+8
game.mainloop()