I'm trying to figure out how to animate the tree now, because I want to

make the leaves change colors, so I made a new python program file to
test out just getting one leaf to change color.

I don't think I'm understanding how to get animate to work. I was
thinking that if I made a list of colors, I could iterate over the
colors in the list for different frames, but I couldn't get that to
work. Also, for some reason, I can't use superturtle directly, even
though I have it installed. I have been copying the source code into
the superturt.py file, but some of the source code isn't available
to do that for (the easings). Not sure if that is a factor in not being
able to do this though, because I was trying to switch between specific
colors, and not move through a spectrum (although that would be cool
to do eventually if I can). I was also thinking it would be cool to
make the leaves grow when they first appear, and then rotate and fall
down at the end, but that would definitely require the easing thing.
This commit is contained in:
root
2024-09-24 23:19:12 -04:00
parent 1ab20f18ff
commit 9ccad6051e
6 changed files with 319 additions and 24 deletions