I'm trying to make a rainbow straight line but can't figure out the way the RGB  values in turtle.pencolor() should change over time...
I tried using a hexadesimal increment from 000000 to FFFFFF but I got a a black to green line loop before getting an invalid color value.
Also, if you have even less patience, you can set the turtle module's "tracer" function to (0, 0)
eg. t.tracer(0, 0)
This will make the drawing appear instantly.
t.tracer(20, 0) will make the turtle go hyperspeed but still with some animation
you also need t.update() at the end if you use this method.
How can I cycle colors using turtle module in python?