0% found this document useful (0 votes)
36 views

CS-201-01 - Assignment #3

The document summarizes the key steps and lessons learned from an assignment to create beach objects using Turtle graphics in Python. It describes: 1) Choosing three beach objects - a palm tree, starfish, and seagull. 2) Using loops and functions to more efficiently create the background and multiple images, as well as conditionals from a prior class assignment. 3) Issues adjusting GIF shapes and indentation errors adding more objects, which were resolved. 4) Learning that control structures like loops and functions can significantly reduce development time. 5) An external resource used to customize the output window size and speeding up drawing with t.speed().

Uploaded by

curt Thom
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views

CS-201-01 - Assignment #3

The document summarizes the key steps and lessons learned from an assignment to create beach objects using Turtle graphics in Python. It describes: 1) Choosing three beach objects - a palm tree, starfish, and seagull. 2) Using loops and functions to more efficiently create the background and multiple images, as well as conditionals from a prior class assignment. 3) Issues adjusting GIF shapes and indentation errors adding more objects, which were resolved. 4) Learning that control structures like loops and functions can significantly reduce development time. 5) An external resource used to customize the output window size and speeding up drawing with t.speed().

Uploaded by

curt Thom
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

1. Description of what three beach objects you chose to create.

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.

4. Reflection of what you learned in Unit 3.

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.

You might also like