GEOBIRD

So this week I had an idea of making an image of a bird using geometric/triangular style. While planning the numbers, it occurred to me “how about drawing a sequence where the bird is taking flight instead of a portrait?” So here it is 8 hours later…password screensht

sequence2

The image corresponds to type. Its a play that shows that know you got the right password.
every letter have a different drawing.

What I’ve learnt from this exercise:
1.key()
2.keyPressed()
3.line() & co-ordinates
4.text()
5.numbers are important @.@

Please take a look at the code on http://www.openprocessing.org/sketch/110612#
because its too long to post here but the general formulae is like this:

void setup(){
size(1070,430);
background(0);
stroke(255,255,0);
textSize(60);
fill(225,225,0);
text(“/PASSWORD/?”, width/3,height/2);
}

void draw(){
if (key ==’e’ || key ==’E’)
{background(13,133,142);
smooth();
/**head1*/
line(96.66,339.919,127.019,330.262);
line(127.019,330.262,151.02,320.604);
line(151.02,320.604,127.019,312.878);
line(127.019,312.878,110.536,318.029);
line(110.536,318.029,96.656,339.919);
}

and the code repeats for every bird movement that correlate to a certain key.

REFLECTION: next time I want to try to use more boolean conditionals to generate 2 different image with the one key.