generated from mwc/project_drawing
drawing with functions I think I might need, and I created a separate file where those functions will be. This is my first commit of 3. Somewhere I got stuck was trying to create three balls in a circular arrangement such that two had the same y-coordinate and the third had an x-coordinate between those of the other two. I knew I needed the turtle to stop and draw a ball every 120 degrees, but I'd forgotten I needed to change the heading. After I changed the heading I realized that the radius had to be adjusted since the center of the circle is to the turtle's left. Overall, the math was what I needed to remind myself of to implement the ideas I had, but it wasn't always clear to me what math I would need to think about as I adjusted the program. For my next commit, I'll draw out the upper body of the juggler and then position the turtle so the juggled balls are in a location that makes sense relative to the juggler. For my last commit, my goal is to animate the balls moving in a circle. I've already started thinking about how I might do it, so I have an offset to determine where in the (imaginary) circle the turtle should draw the first ball. |
||
---|---|---|
__pycache__ | ||
.DS_Store | ||
.commit_template | ||
drawing.py | ||
helper_functions.py | ||
poetry.lock | ||
pyproject.toml |