Commit Graph

3 Commits

Author SHA1 Message Date
root 1ab20f18ff I made a python program file with the superturtle functions I needed,
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.
2024-09-24 19:57:54 -04:00
root 3876534fb3 I finished making the tree, and I added more shapes into shapes.py as I
felt like they were okay enouh for now.

Something I am wondering about is if there is some sort of way to
"mirror" lines of code, because of the way that the turtle draws, it
would be nice to only draw half of something, and then have it finsish
by mirroring, like a loop but in reverse order (at least for things
that are symmetrical).
2024-09-24 12:19:32 -04:00
root 8f1bc7512c I made a shapes.py file to keep my good shapes once I've finished them.
I made a draw_leaf function and put it into a shapes.py because I think
the leaf is pretty good. I started trying to draw the trunk / branches /
roots of the tree, but it's not finished so I didn't put it into
shapes.py yet.

It was easy to make the leaf, I used two 90 degree arcs and a straight
line between them equal to the chord length.
I was trying to make branches with more branches coming off of them,
but it was difficult to make the branches repeat the way I wanted to,
so I am now just trying some basic rods for the main branches, and then
once I figure out the loops for that I will figure out how to do loops
to make little branches off of the main branches.
2024-09-21 22:33:06 -04:00