import turtle t = turtle.Turtle() t.speed(7) # 1:slowest, 3:slow, 5:normal, 10:fast, 0:fastest golden = (1 + 5 ** 0.5) / 2 share = 360 / golden for i in range(128): orientation = share * i % 360 c = 256 - i * 2 t.color(c, c, c) t.seth(orientation) l = 100 - i / 2 t.forward(l) t.seth(orientation + 180) t.forward(l)