Project #2 Form Generator - After Eating

Description

A liitle pig you can play with! Use the slider to have fun!

Design Process

I want to make a cute interactive animation,for I enjoy eating delicious food, I choose to paint a litte pig and help it not feel hungry. At first, I drew a draft, then began to think what kind of functions are suitale for my little pig. At last, I decided to use random() to make its ears swinging up and down, and lighting up its flower hair. Another important function used in my sketch is the slider, and it's fit to the status of the little pig's before and after eating. Except for the bigger belly, the piggy smiles more after eating.

I choose bright color to create the piggy image with a dark background to make this cute pig stand out. Players are welcomed to drag and click the mouse to interact with this piggy.

Reflection

Random() is very cool! It helps me make the swinging piggy ears up and down. Even more, It does a favor to me to make the petals shinning beautifully. We can use random() to do many interesting things, and I want to try more in the future. Another I have realized from this assignment is that math is quite important, for many pictures need to be calculated, for exmple, the radians.