Two-Fourteen | Skillshare Projects

#### Raleigh Gresham

Yes, but what happened "after" the analysis?

51

2 # Two-Fourteen

I wanted to upload a this piece of work I completed based on the things I learned in this aweomse course (needed the closure I guess). Below are some of the artifacts from the process of creating a poster for my wife for Valentine's Day. Sorry for not being real "linear" in sharing how got to the final version.

Let me know which you prefer: the dark or the light version...

Thanks for everyting Josh - GREAT CLASS!

FINAL POSTER (36x48) SKETCH CODE

HColorPool colors;
HEllipse d;
import processing.pdf.*;

void setup() {
size(600,600);
H.init(this).background(#FFFFFF);
smooth();

float x,y;
float maxOpac = table.getFloat(99,3);
float maxColor = table.getFloat(99,1);
float radius = 400;

for (int circyear=0; circyear<100; circyear++){

for (float ang = 0; ang < 360; ang += 1) {
x = width/2 + ((radius+(circyear*6)) * cos(rad));
y = height/2 + ((radius+(circyear*6)) * sin(rad));
float dotsize = (4*(table.getFloat((circyear),4))+2);

float colorWeight = table.getFloat((99-circyear),1)/maxColor;
int redColor, blueColor, greenColor;

// Red //
int redStartTop = 0;
int redStopTop = 0;
int redStartBtm = 0;
int redStopBtm = 0;

// Green //
int greenStartTop = 120;
int greenStopTop = 138;
int greenStartBtm = 2;
int greenStopBtm = 50;

// Blue //
int blueStartTop = 245;
int blueStopTop = 245;
int blueStartBtm = 200;
int blueStopBtm = 200;

int redTop = int(redStopTop-(redStartTop*colorWeight));
int redBtm = int(redStopBtm-(redStartBtm*colorWeight));
int greenTop = int(greenStopTop-(greenStartTop*colorWeight));
int greenBtm = int(greenStopBtm-(greenStartBtm*colorWeight));
int blueTop = int(blueStopTop-(blueStartTop*colorWeight));
int blueBtm = int(blueStopBtm-(blueStartBtm*colorWeight));

redColor = int(random(redBtm,redTop));
greenColor = int(random(greenBtm,greenTop));
blueColor = int(random(blueBtm,blueTop));

d = new HEllipse();
d
.strokeJoin(ROUND)
.strokeCap(ROUND)
.noStroke()
.fill(redColor, greenColor, blueColor, int((((table.getFloat(circyear,3)/maxOpac)*100)+155)))

.size( dotsize )
.loc( x, y )
.anchorAt(H.CENTER)
;

}

}

saveVector();
noLoop();

}

void draw() {
H.drawStage();
}

void saveVector() {
PGraphics tmp = null;
tmp = beginRecord(PDF, "render.pdf");

if (tmp == null) {
H.drawStage();
} else {
H.stage().paintAll(tmp, false, 1);
}

endRecord();
}

COLOR INSPIRATION     