Skip to content

Processing Assignment 3B

int saveNum = 0;

float x, y, x1, y1, x2, y2;
int triangleAmount;
boolean stop;

void setup() {
size(400, 400);
smooth();
background(0);
stop = false;
triangleAmount=150;
}

void draw() {
background(0);
drawTriangles();

if(keyPressed == true) {
fill(0, 222, 255);
ellipse(25, 25, 150, 150);
fill(0, 255, 85);
ellipse(375, 375, 150, 150);
fill(255,162,0);
rect(0,300, 100,300);
fill(230,255,0);
rect(300,0, 100,100);

}

}

void drawTriangles() {
for (int i=1; i<triangleAmount; i+=1) {
fill(random(255), random(255), random(255));
float r = map(i, 1, triangleAmount, 0, width/2);
x = random(mouseX-width/2+r, mouseX+width/2-r);
x1 = random(mouseX-width/2+r, mouseX+width/2-r);
x2 = random(mouseX-width/2+r, mouseX+width/2-r);
y = random(mouseY-height/2+r, mouseY+height/2-r);
y1 = random(mouseY-height/2+r, mouseY+height/2-r);
y2 = random(mouseY-height/2+r, mouseY+height/2-r);
triangle(x, y, x1, y1, x2, y2);
frameRate(10);

}
}
void exportFrame() {
if (keyPressed) {
if(key == ‘s’ || key == ‘S’) {
save(“stuffandthings” + saveNum + “.png”);
saveNum++;
}
}
}

Advertisements
Image

Processing

size(400,400);
background(0,0,0);

fill(200,0,0);
rect(110,0,400,275);

fill(255,255,220);
rect(0,0,100,110);

fill(255,255,220);
rect(0,125,100,150);

fill(255,255,220);
rect(110,285,250,220);

fill(255,255,220);
rect(370,285,100,50);

fill(225,165,0);
rect(370,350,100,50);

fill(0,30,80);
rect(0,285,100,150);

Image

Tutorial #9

Tutorial #9

I don’t have a battery so tried to complete this as best as I could.

Image

Tutorial #7

Tutorial #7

Image

Tutorial #6

Tutorial #6

It’s alive! and slightly annoying.

Image

Unable to complete tutorial #5

Unable to complete tutorial #1

My kit didn’t come with a female connector for my servo, and so the head of this tutorial is basically cut off.

Image

Project #1: Analogue Interaction

IMG_20140127_182027

IMG_20140127_181941

IMG_20140127_154601

IMG_20140127_154549

IMG_20140127_154538

IMG_20140127_154527

IMG_20140127_154515

IMG_20140127_154456Project #1: Analogue Interaction

The idea of having a nearly pure white pop up book is based off the example presented in class. It is important to understand the lyrics to the song included in the book in order to understand the importance of the objects on each page. In short the white pages are a representation of the artist fading childhood, the final page of a painted black city is her coming of a dark and bleak reality, void of the care free life of her childhood. Avoiding the use of colour I used shallow cuts instead, for example on the wolf’s paws, eyes and ears. I found that I had taken an interest in making a pop up after the lyrics of a song, it was my first idea and I noticed no one had done something like this.

If there ever was a problem that I found is that there maybe too few interactive objects on each page. Another being that I could have added a contrasting shade to it. The intended audience would be to a more specialized audience, people who are fans of the band. The idea that this could be an added bonus to who ever bought an album, much like bonuses found with pre-ordering video games.

I can definitely see an appreciation for professionals who do this. It requires a great deal of trial and error. And the time it takes to create these books at such a level of detail is understandable. In comparison to a professional one and mine, mine would look like a mere footnote in quality. I feel that our attraction to these objects is actual underappreciated. This is because of the core component of the pop up, paper craft is seen as something with regards to being childish. Therefore a more mature audience pays little attention to pop up book in comparison to a child.