Oct 28
Skull
Fundamentals of Physical Computing
Lab Seven: Programing Lab 2, part 3: Animated character
Create a simple 2-5 shape “character” that you will animate on the screen.
- Begin a New sketch in Processing.
- Design/Plan your character on a piece of paper. Compose the character out of shapes that you know how to draw in Processing.
- Pick a “reference” point on your character. Think of this point as the handle with which you will be able to move it around the screen. (In this TeddyBear example, the reference point is in the belly of the Teddy Bear.)
- Put your character in Processing so that is moves with the mouse at the reference. In Processing you will draw the shapes that make up your character around this reference point (using offsets etc…). Take a look at the source code for the purple teddy bear, notice that every ellipse shape uses the mouseX and the mouseY variables. The same should be for your shape
- Save As.. this sketch, naming it yourname-Character