project_drawing/changingcolors.py

29 lines
480 B
Python

from turtle import *
from superturt import *
from shapes import *
# I'm trying to figure out how to get the leaves to change colors.
fillcolor('green')
begin_fill()
draw_leaf(20)
end_fill()
save('green.png')
#fillcolor('yellow')
#begin_fill()
#draw_leaf(20)
#end_fill()
#save('yellow.png')
#fillcolor('orange')
#begin_fill()
#draw_leaf(20)
#end_fill()
#save('orange.png')
#fillcolor('red')
#begin_fill()
#draw_leaf(20)
#end_fill()
#save('red.png')