Jae Jun Lee; Midterm

Screen Shot 2013-10-24 at 3.21.35 PM

 

http://www.openprocessing.org/sketch/117433

1. Midterm.

Yes. This is Cristiano Ronaldo and his famous saying along with the GOAL sign

He is one of the most prominent player on earth as of right now.

I wanted to emphasize his importance in the history of soccer in general and as a fan of him wanted to use him as my midterm work.


PImage img;
int x;
int y;
color pix;
float pointillize = 1.5;

void setup() {
size(615, 409);
img = loadImage(“ronaldo.jpg”);
imageMode(CENTER);
noStroke();
}

void draw() {

background(0);
for (y = 0; y < img.height; y+=5.5) {
for (x = 0; x < img.width; x+=5.5) {
pix = img.get(x, y);
if (pix != color(0, 0, 0)) {
noStroke();
fill(0);

if (dist(pmouseX, pmouseY, x, y) <= 10) {
pointillize=7;
textSize(50);
fill(255,255,255);
text(“-NO.7 Ronaldo”, mouseX/6,150);
fill(255,255,255);
textSize(30);
text(“Along with ball, I move.”, mouseX/12,50);
fill(255,255,255);
textSize(200);
text(“GOAL!!!”, mouseX/10,400);

}
fill(pix);
ellipseMode(CENTER);
ellipse(x, y, pointillize, pointillize);

}

}

}
}