From 4561b95cc9f40eff85a3f9fa9d8c51cb76b74ba0 Mon Sep 17 00:00:00 2001 From: Cory Dean Chung Date: Tue, 1 Aug 2023 08:29:43 -0400 Subject: [PATCH] I began outlining the program to create the 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. --- .DS_Store | Bin 0 -> 6148 bytes __pycache__/helper_functions.cpython-311.pyc | Bin 0 -> 2157 bytes drawing.py | 20 +++++++-- helper_functions.py | 42 +++++++++++++++++++ poetry.lock | 24 +++++------ 5 files changed, 71 insertions(+), 15 deletions(-) create mode 100644 .DS_Store create mode 100644 __pycache__/helper_functions.cpython-311.pyc create mode 100644 helper_functions.py diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..f31696f72677928a897c4d167df58a08d0fdb490 GIT binary patch literal 6148 zcmeHK%SyyR5Ukcc1Q%qFUWECAfPWB|_2Ahb(9MeIMzg4k>@9ac#!uAh?omw4Swy;_ zr+Q|(W-KtWd&4Mt3xN4xfN@`NZh#w{LjgAyC;Mh5zeP5SKzSm6;@ zc)_>tKX2N4*|bact2n3h^4*LPFy$IsT;rL{9ar42R%1P2y$x80rp$(%7I$RVNUE2fT7h615LDDb6#?hlEs zSY_-SZR=oRPXMA`qs=R&*aZvQF<$8Z)oT*g5Jb+HQ1WTm(#zC_;f>P~Zc=nMHX3 literal 0 HcmV?d00001 diff --git a/__pycache__/helper_functions.cpython-311.pyc b/__pycache__/helper_functions.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..82096feb99e49b4105fe2fb02560896e93323fd9 GIT binary patch literal 2157 zcmcgt&1)M+6rYi1rIj4Xj$+p_t&NkKI!bAUX(^=*{YYGYAuFMFAOwn#wJUj()vh|b ziyGm;3UpY34(ch+Er;R~eCeU|Z|HFaI+%q$l^k>v_?A=Oth9w8zm%yNN{t0xRApr?kM*IC15842>h@lF;LZAwo zi=z{W_tcLWfgjsrP=w$K>~K2V1*~D;2CIhmNX+Y5f#xbODRn5yWsznJhLYDMRna~yKXGO>Jx6u0-cvP+Y3UW% zj9rlS6oiRhkw|T`zG-f{Bx0?!E;nwpzHNMPJo^Gazxv|#^Tjq2_}s& zf1C}Y?1py`r~-2){6}~??(ZEcm~qH~Y=}h&2Fl7;N#aBbk}UTL6Fm@%l9FW#CzO|H zUKSl5NaJZHz~C7ew{x;gmtZY+a_v(P>~3RLp-tvGWX>jYE{WID^|YCGN!0qdwbJ;! zP3Ajf-X`-dxm4S!@0i}NkKOP+!%D-P@e^Foe}$b8I6^F=9N~%lF@oNB{#ZxfWu6A~ zk(WM>uRijU|009@!<+S^gA6sE-C}^qpp5U`y!(Gfc7&_&A2J@F$1g6^y#+BA?|bFd zmy}&$_XiNku)|TQc&JnM|3lva0g9Yb6zMcmFbX-Gq?8Rk8Kmr8Iib578++gEJ6O^f zddthp{YRK!yxTE~MH%wT9gn4S6(+n5pY|IFFS}UR{WLL5G*RoL)@kEPEFr}6MMcMItF@eBGs7+7Z0R1m!&#`p{+Y`>nN pS=+B?Xu