Commit Graph

9 Commits

Author SHA1 Message Date
root e1d0b5aceb I updated the superturtle file with the easing stuff and I changed the
colors to use (r,g,b) so that the colors used were more consistent.
2024-10-10 19:49:38 -04:00
root 24a976f129 I changed the colors in the list, and I added two more branches on the
tree.

I noticed that the colors change more slowly as it moves towards the
end of the list. I didn't really do much since the last commit a little
while ago, I was mainly just tweaking the appearance.
2024-09-26 23:13:39 -04:00
root 9bc18ac771 I got the leaves on te tree to change colors!
I'm not sure if I did what I was supposed to, because I never got the
animate function to work, I just used a list of colors. I had some
problems using the superturtle library, as I mentioned last time, and
I am still unable to figure out how to use the easing stuff, so I
decided to try to use mostly un-super turtle, with some of the
superturtle stuff that was working from copying the source code into
the superturt.py program file.
2024-09-26 22:20:45 -04:00
root 9ccad6051e 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.
2024-09-24 23:19:12 -04:00
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
root 4e07a15cb3 resubmitting 2024-09-17 23:24:22 -04:00
sscheuneman 71694e18dc Initial commit 2024-08-28 01:19:43 +00:00