because I couldn't figure out how to get superturtle to import right. I also added the leaves in, added a branch because the leaves didn't look thick enough, and then I colored in the leaves and the trunk. I'm not sure if it was the best way to do it, but I couldn't figure out how to color in the woody part of the tree and the leaves at first (I was trying to do like nested fillcolors, but only the leaves would color in still), so I duplicated all of the tree drawing functions and made one without leaves and one with leaves, and I colored in the wood in the former, and colored in the leaves in the latter. |
||
---|---|---|
__pycache__ | ||
.commit_template | ||
README.md | ||
drawing.py | ||
poetry.lock | ||
pyproject.toml | ||
shapes.py | ||
superturt.py |
README.md
(Drawing project)
( This is the README file for your drawing project. Replace all the text in parentheses with your own text. It's written in a simple language called Markdown, which allows basic formatting. )
Description
(Describe your goal for this project. If you want to link to an image, move the image to this directory, and then use the following syntax:
For this project, I want to make an animated tree with the leaves changing color and falling down.
---I am adding this line so it lets me do a commit message.---
)
Planning
(Include your planning here, including your project milestone.
To complete this project goal, I will first draw a base for the tree, made up of a trunk and branches. To simplify this, I will write a function which draws a branch, and call it to make many branches of different sizes and positions.
I will write a function for drawing a leaf, which will change color based on the time.
Lastly, I will write a function for the leaves to fall from the branches to the ground.
My milestone will be having the static image complete.)