upload code (path3) to draw a line with a gradient over several colors