Functions Defined - Code.org Video with Chris Bosh
What are the parts of the iceCream() function and what do they do?
Record your observations here (make a copy).
Add Translate() and x-y variables to iceCream() function.
Add x-y parameters and push() and pop() and duplicate by calling the function multiple times.
Make your own design with iceCream() function. Copy this starter project.
For each challenge, students complete a self-assessment rubric.
Translate - a geometric transformation that moves every point of a figure by the same distance in a given direction, often referred to as “sliding.”
Coordinate Plane - a two-dimensional surface created by the intersection of two lines, the x-axis and the y-axis.
Defining a Function - explaining what a function should do, including its name and parameters. ex: function cake(size, col){//some stuff}
Calling a Function - running a function by calling its name and any arguments it needs. ex: cake(20, 'green');