3.Functions and Ice Cream Cone Designs

Design with iceCream() Function

Lesson 3 Teacher Slideshow

Exploration

Share Your Logo Re-Designs.

Lesson

Functions Defined - Code.org Video with Chris Bosh

Exploration

What are the parts of the iceCream() function and what do they do?

Lesson 3 Parts of IceCream() Student Copy

Lesson

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.

Challenge

Make your own design with iceCream() function. Copy this starter project.

Challenge

For each challenge, students complete a self-assessment rubric.

Let's be picky about vocabulary!

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');