generated from mwc/project_drawing
Turns out I did end up needing the chord length for some of the proportioning if I wanted symmetry. Did need to add math, but was easy enough to plug and chug. Looking back, I could have done the trig once right after I assigned the faceLength variable and then stored that value to use later on, rather than copy/pasting the equation over and over again and then tweaking it with a constant... Because of the design I chose, iteration didn't take a primary role in my program, but I did use it for the ellipses and the triangle to save myself a lot of variable updating/redundant lines of code since all of the non-circle shapes were regular shapes anyway. That did make things a lot easier, especially since by design the turtle ended up with a consistent in/out position which maybe wouldn't have happened if I wrote the whole thing line by line. If I were going to continue with this project, which I still might, I would add the lower half of the dog and a nice animation might be to make the tail wag. |
||
---|---|---|
.commit_template | ||
drawing.py | ||
poetry.lock | ||
pyproject.toml |