Processing Monster Statement


This was the statement sent to my TA accompanying this project's submission:


My code is heavily commented, so most of this information will be redundant

Code Listing:
When the code is viewed in any text editor with coloration, comments are even easier to spot and understand, but here is a summary of what is there:
The main file checks for mouse clicking, updates the cat's movements, and draws the cat and world. The cat class describes the monster, showing how the cat follows the mouse, how it jumps/falls, and how it is drawn*. The world draws static bush/floor objects, and has no update or any other function.
The cat uses logic from my past experience with Linear Algebra, OpenGL, and computer graphics. To fully understand what is going on with the matrix manipulation and how it is being transfered to the screen, it would take far more explanation than I have room for (2+ quarters worth of education). I did, however, do my best to describe what pushing/popping is for, why it is necessary, and the different chunks of code where different transformation matrices are applied.


Accomplished/Planned work:
The cat correctly jumps and follows the mouse, flips around so it faces the right way, falls to the ground when the mouse is released, and claps when it reaches its destination at the mouse. As described above with the computer graphics, this project is a small interactive animation, and most of the work is in the matrix transformations. Except for the movement of the cat to the mouse cursor, all the work is done through translations, rotations, and scaling of basic geometric forms given in the processing library.


Controls:
Hover the mouse anywhere on the screen, and the cat will attempt to follow it from the ground. Click any mouse button anywhere on the screen and hold it down, and the cat will fly after the mouse. If the button is released, the cat will fall back to the ground and continue following. If the cat reaches the cursor, it will clap for the viewer.


Monster inspired by mb09's BlinkEyeMonster