CS-201-01 - Assignment #3
CS-201-01 - Assignment #3
I chose to input three objects that make a beach a beach for me. One is a palm tree, two is
a starfish, and lastly a seagull.
2. Your thought process in how you broke down the task, where you made use of the
required control structures, and how you made use of them.
I first started off by making the background, sky, water, sun, and sand. I realized I could
use a loop to make my rectangles. This made me use less time in order to create the
background. Next, I moved into making images on Canva. I couldn’t figure out how to
make them transparent as a gif. So I just stuck with the white backdrop that came with
them. I also decided to go with some conditionals that my group used for one of the class
assignments, as I thought it would be fun to implement again with multiple images. These
lines of code also contained a few functions that helped make the process a lot faster so I
could focus on other tasks.
3. Describe the issues you ran into for this assignment and your process in resolving
those issues.
One of the main issues I ran into was trying to adjust the shape of the Gifs. I tried to look
up how to adjust it, and it just seemed that that specific line of code was working, which
didn’t make sense to me because it isn’t altering what the gif is, just the size of it. I did
run into some issues when trying to add more objects, and it was a simple fix of
indentation.
Using loops can really make things much easier in terms of how much time something
takes. The same could be said about functions as well, one word can perform a number of
tasks which is very helpful. This unit was a lot to take in, but I am beginning to
understand that all of the control structures really do help in terms of saving time when
developing a code.
5. Were there any additional resources that you used besides the textbook and Turtle
documentation linked? If so, provide the links and description of what you used.
I did use one external source for setting up the output window to my desired needs.
https://www.geeksforgeeks.org/turtle-screensize-function-in-python/
It allowed me to set the parameters for the output window so I could scale all my
drawings off of that. I did learn that by using t.speed(), the operating speed of the output
is increased so it is much faster when you are trying to see if something works correctly.