Project #4 Exquisite Corpse

Description

I made this work together with my other 2 group members, Jay Tobin and and Jiujin Feng. The head part belongs to me, the middle body comes from Feng and the lower body comes from Tobin. And Feng offered color matching in his sketch and its quite adorable, so I apply it in my final work. I also add an interactive part to the arm part, which can extend a unit when you press you key one time.

Design Process

We are supposed to practice defining and calling function in this assignment ,so I split the whole body and define a function for each part. This is just by first thought. Then I quickly find out that some parts are too complicated that need to use other function inside. Like the middle body part, I have to add a function specifically for drawing pattern. And the lower body part, which is a mess in the sketch and I use a lot of curve to constitute this mess.
The arm part is the hardest part for me. I use for loop to draw an array of circle and import a function for hand at the portion of the last circle. The number of circle can be used to control the length of arm, so I extract it out as parameter. So that I can control freely when call the function. This feature is suitable for adding interactive part, and I input a value tighten with second as my argument. Then the arm can stretch as I press the key.

Reflection

Using function to encapsule my code makes my code much more flexible and clear. But things out of my expectation is that stroke in my self-defined function can still affect other part as long as this function is called. This part confused me a lot and block the effect of my self-defined code, so gave me really deep impression.