Projet 3.

Projet 3 :

This final project is a big combo about we learned during 15 weeks, i download a

picture of an apple in Processing to become the new background in which we can put some geographical forms first in dark grey with the left click and moving the mouse then we press a to have a messssage :”I love apple” and the color form change to green

and if we press p we have an another message :”J’aime la pomme” and the color change to gold.

Here the link to open processing : http://www.openprocessing.org/sketch/177635

if you can’t open it with open processing download all the files here:

the zip https://dl.dropboxusercontent.com/u/91658525/Proj3.zip

or 1 by 1 https://www.dropbox.com/home/Public/Proj3  or https://www.dropbox.com/sh/zt7hwm6cys023es/AAA3o5wTXf482nH5XGCyal86a?dl=0 and open it with your own software processing. Thanks you

Very important don’t forget the differents steps: left click, move the mouse press a  left click, move the mouse press p and left click.


The first picture represent an apple, picture i took by myself.

Capture


If we take the mouse left click we some geometrical forms in dark grey.

Capture1


Click a and we have a vocal message I recorded: “I love apple” and the color change in Green, continue to left click and move the mouse to make another forms.

Capture2


Click p and we have an another message in French I recorded: “J’aime la pomme” and the color

of the geometrical form change to gold.

Capture3


In the first vocal message: “I love apple”, I used my computer, a mic and audacity to put 2 filters: echo and wahwah.

ila


The second message:”J’aime la pomme”, I still use audacity and put one filter  reverb.

jlp


Conclusion:

I liked to use a pictureof an apple because it’s the forbidden delicious fruit of knowledge. It’s a reference too to the city of new York “big apple” where this incredible mooc of Stony Brook is coming from. And finally there is a philophical message that more we use effects less we see the reel things of nature like a simple fruit.

Thanks, I hope you will enjoy it.

Merry Xmas and Happy New Year!

 

ps: The code

import ddf.minim.*;

color strokeColor = color(0, 10);
PImage fractal;
Minim minim;
AudioSample apple;
AudioSample apple1;

void setup() {
size(1000, 666);
colorMode(HSB, 360, 100, 100, 100);
noFill();
//background(360);
fractal = loadImage(« pomme.png »);
background(fractal);
minim = new Minim(this);
apple = minim.loadSample(« ila.mp3 »);
apple1 = minim.loadSample(« jmlp.mp3 »);

}
//draw
void draw() {
//background(0);
if(mousePressed){
pushMatrix();
translate(width/2, height/2);
//map
int circleResolution =(int)map(mouseY+100, 0, height, 2, 10);
int radius = mouseX-width/2;
float angle = TWO_PI/circleResolution;

//style
strokeWeight(2);
stroke(strokeColor);

beginShape();
for (int i=0; i<=circleResolution; i++){
float x = 0 + cos(angle*i) * radius;
float y = 0 + sin(angle*i) * radius;
vertex(x, y);
}
endShape();
popMatrix();
}
}
void keyPressed() {
if ( key == ‘a’ ) apple.trigger();
strokeColor = color(#34C924);
switch(key){
case ‘p’:
apple1.trigger();
strokeColor = color(#FFD700);
}
}

Votre commentaire

Entrez vos coordonnées ci-dessous ou cliquez sur une icône pour vous connecter:

Logo WordPress.com

Vous commentez à l’aide de votre compte WordPress.com. Déconnexion /  Changer )

Image Twitter

Vous commentez à l’aide de votre compte Twitter. Déconnexion /  Changer )

Photo Facebook

Vous commentez à l’aide de votre compte Facebook. Déconnexion /  Changer )

Connexion à %s

Créez un site Web ou un blog gratuitement sur WordPress.com.

Retour en haut ↑

%d blogueurs aiment cette page :