Create a new sketch. Create a function that draws your creature from the previous activity. The function name should be descriptive of what the function does. Pass values into the function so you can change the position where the creature is drawn.
Call this function from your draw function. Have fun, draw it again with a different position specified. What else can you change about your creature this way besides position? You could change the stroke width or colors of parts of the creature. Your function to draw the creature will need additional parameters. Call the function additional times to demonstrate how you can change the creature’s look and position when you draw it.
Name your sketch: drawCreatureFunction
Go Back to Moving Shapes 2