Friday 26 October 2012


//angry monkey hack exercise chris 23/12/4

//declare variables

float y1 = 60;
float y2 = 60;
float y3 = 57;
float y4 = 57;


void setup ()
{
size(450, 280); //window size
smooth(); //anti-alias curves
}
void draw ()
{
fill(219,160,31);
strokeWeight(15); // stroke for ears

background(77,31,219);

if (y1 <200) //animation loop for right ear
{
  y1 = y1+1;
}

ellipse(50, y1, 78, 82); //right ear

if (y2>200) //animation loop for left ear
{
  y2 = y2-1;
}

ellipse(400, y2, 78, 82); //left ear

strokeWeight(80); //stroke for eyes
fill(245,82,27);//fill colour for eyes using RGB values

if (y3>200)  //animation loop for left eye
{
  y3 = y3-1;
}

ellipse(300, y3, 95, 100); //left eye

if (y4<200)  //animation loop for right eye
{
  y4 = y4+1;
}
ellipse(150, y4, 95, 100); //right eye
}

Friday 12 October 2012

Montage





PImage img1;
PImage img2;
PImage img3;
PImage img4;
PImage img5;
PImage img6;

void setup() {
  size(800, 600);

img1 = loadImage("trees.jpg");
img2 = loadImage("forest.jpg");
img3 = loadImage("leave.jpg");
img4 = loadImage("leavesfalling.jpg");
img5 = loadImage("seat.jpg");
img6 = loadImage("autumnfall.jpg");
}

void draw(){
background(245, 120, 37);//background colour


image(img1, 1, 1, 450, 290);  //image positioned and resized
image(img2, 600, 20, 200, 300);
image(img3, 50, 300, 220, 300);
image(img4, 120, 150, 380, 290);
image(img5, 450, 360, 320, 300);
image(img6, 350, 100, 350, 300);
PFont font;
smooth();
font = loadFont("LeviReBrushed-48.vlw");
textFont(font);

textSize(200);
text("Autumn", 100, 400);
textSize(20);
text("Lorenzo Chichiricco", 600, 590);
fill(255, 255, 255);
}
Done with Processing

Friday 5 October 2012

zombie


int leftEyeX = 270;
int leftEyeY = 240;
int rightEyeX = 400;
int rightEyeY = 225;
Processing code

void setup() {
size(700, 700);
noStroke();
smooth();
}

void draw() {
background(50);

fill(21, 152, 22);
ellipse(330, 300, 300, 400);

fill(255);
ellipse(leftEyeX, leftEyeY, 80, 80); //left eye
ellipse(rightEyeX, rightEyeY, 90, 90); //right eye

fill(188, 0, 0);//red pupil

float pupilLeftX = map(mouseX, 0, width, leftEyeX-25, leftEyeX+25);///adjust the added value to suit
float pupilLeftY = map(mouseY, 0, height, leftEyeY-25, leftEyeY+20);
float pupilRightX = map(mouseX, 0, width, rightEyeX-25, rightEyeX+25);
float pupilRightY = map(mouseY, 0, height, rightEyeY-25, rightEyeY+20);

ellipse(pupilLeftX, pupilLeftY, 20, 20); //left pupil
ellipse(pupilRightX, pupilRightY, 20, 20); //right pupil
rect(250, 440, 200, 50);
fill(21, 152, 22);
rect(230, 200, 80, 20);
ellipse(250, 450, 150, 150);
ellipse(420, 450, 150, 150);
fill(255, 255, 255);
triangle(340, 440, 350, 440, 345, 460);
triangle(320, 440, 330, 440, 325, 460);
triangle(300, 490, 320, 490, 320, 460);
triangle(350, 490, 370, 490, 350, 460);

Thursday 4 October 2012

Final Oc3 designs

expressive

product

urban

subtle

fantasy

music

Tuesday 2 October 2012


Santiago Pol and Carlos Cruz Diez