The color settings are single-state, so each time you change it you are changing the colors for the next drawing function. Instead, you need to change a color, draw some portion, change a color, draw the next portion. It helps to save()/restore() after each section so you don’t have to undo any transformations that you might have done along the way.
Hope that helps!
Nov 30, 2011 at 5:48am #216945