Description

I will create a christmas tree with three triangles on the top, and then a brown tree stump at the bottom. Also I will create 2 presents for underneath different colors

coreection: As I thought about it, I am changing this to a 3 tiered cake with sprinkles.
each layer has a different color. I feel more comforatble w this

write rectangle (width, height, color) and square() functions
make the cake tiered, 3 levels

i struggled with iteration for sizes, and positioning of the three levels, but i prevailed
coding the functions for the square and triangle seemed easy enough
it is easier than writing a different size code for each tiered square

completed***
write code for rectangle and square
create a function for each of these
***It took a long time, but I have the codes for rectangle and square

use iteration to make the sprinkles
color the cake's tiers red, gree, blue
also create a list of sizes for the squares using iteration, as well for the sprinkles

combine all functions and iterations and colors to make the final cake
This commit is contained in:
mdecker6
2025-10-06 11:25:22 -04:00
parent 8123f56e66
commit 408081dad6
3 changed files with 114 additions and 13 deletions

View File

@@ -1,21 +1,33 @@
# (Drawing project)
(
This is the README file for your drawing project.
Replace all the text in parentheses with your own text.
It's written in a simple language called Markdown,
which allows basic formatting.
)
## Description
(Describe your goal for this project. If you want to link to an
image, move the image to this directory, and then use the following syntax:
I will create a christmas tree with three triangles on the top, and then a brown tree stump at the bottom. Also I will create 2 presents for underneath different colors
![Description](filename.png)
)
coreection: As I thought about it, I am changing this to a 3 tiered cake with sprinkles.
each layer has a different color. I feel more comforatble w this
## Planning
(Include your planning here, including your project milestone.)
### milestone 1
write rectangle (width, height, color) and square() functions
make the cake tiered, 3 levels
i struggled with iteration for sizes, and positioning of the three levels, but i prevailed
coding the functions for the square and triangle seemed easy enough
it is easier than writing a different size code for each tiered square
completed***
write code for rectangle and square
create a function for each of these
***It took a long time, but I have the codes for rectangle and square
### milestone 2
use iteration to make the sprinkles
color the cake's tiers red, gree, blue
also create a list of sizes for the squares using iteration, as well for the sprinkles
### milestone 3
combine all functions and iterations and colors to make the final cake