Take out graph paper.
Draw an ice cream cone with one triangle and one ellipse for the ice cream and one ellipse for the cherry on top. Color your drawing.
Write the code for your ice cream cone on the separate sheet of paper.
Open a new sketch in open processing and enter your code. When you run your code, does the cone look correct? If not, fix your code.
Once your code looks correct, take out another sheet of paper and create variables for ALL of your function arguments such as x,y positions, width and height, r,g,b for colors. YOU choose the value of your variables to begin with now.
Then, incorporate your variables in your open processing sketch.
Turn in stapled your graph, regular code, and code with variables.
Save your sketch as “IceCreamCone”
Go back to: Variables