openobject.org

PROJECT 3 - PENGUIN Processing sketch

From Physical Programming

Experimenting

media:S3197090sketch.zip

media:S3197090sketch2.zip

media:S3197090sketch3.zip

Final

media:S3197090sketch4.zip

In this sketch:

the penguins eyes rotate according to the position of the mouse along the x and y axis

the background colour changes between black and white every time the mouse is clicked

the bees wings rotate by 5 degree intervals until they reach 35 degrees and then they reverse direction, then once it has gone 35 degrees in the opposite direction it reverses again, this keeps going on so that the wings appear to be flying. This is animated at 30 frames per second for a nice smooth appearance.

the bee can be navigated around the page using the arrow keys

the bee can be made smaller using the 'Z' key and made larger using the 'X' key

the bee can be rotated using the SPACEBAR

a font has been loaded so that text can appear in the sketch