Imaginary Creature

This is the link to my sketch: https://editor.p5js.org/Amber1007/sketches/PmKT4KFD4

My project is a rabbit which can wiggle its ears and roll its eyes.

Reflections:

I first used translate() to make the coding easier when determining coordinates of particular shapes. Then I used translate() again to make the eyeball circling around the eye. Since I need to rotate several parts of the rabbit, I used push() and pop(). When using User-Defined functions, I find it convenient to draw the same shape in different places. To use these User-Defined functions better, I also added parameters including coordinates which can manipulate the position of the function works and angles which control the range of wiggling. After using these User-Defined functions, I recognized that the contents I want to draw on the canvas can be clearly seen by naming it.

Thanks to Professor Moon and Learning Assistants for their help.

Leave a Reply

Your email address will not be published. Required fields are marked *