We Must Not Tell Lies

Done in Processing

 

PFont f;
int holdSecond = second();
int howLongToShow = 10; // How Long to show the image(Seconds)
boolean onoff = false;
void setup() {
pixelDensity(2);
size(1400, 900);
background(0);
f = createFont(“Monaco”, 33);
textFont(f);
textSize(12);
}
void draw() {
background(#0A0A0A, 1);//Outside Third Row Computer Border
for (float x = 474; x < width – 500; x += 250) {
noStroke();
fill(0);
rect(x, 270, 200, 130, 10, 10, 0, 0);
}

  //Outside Second Row Computer Border
for (float x = 350; x < width – 300; x += 400) {
noStroke();
fill(0);
rect(x, 355, 300, 190, 15, 15, 0, 0);
}//Outside First Row Computer Border
for (float x = 180; x< width – 300; x += 600) {
noStroke();
fill(0);
rect(x, 440, 440, 290, 20, 20, 0, 0);
}

//Light
noStroke();
fill(#FFEB05, 175);
quad(1000, 0, 1300, 0, 1500, 1300, -600, 1300);

  // Third Row Desk
noStroke();
fill(#646251, 90);
//quad(275, 600, 1125, 600, 1225, 725, 175, 725);
rect(650, 430, 100, 90);// Second Row Desk
noStroke();
fill(#646251, 120);
//quad(275, 600, 1125, 600, 1225, 725, 175, 725);
rect(620, 600, 160, 120);

//First Row Desk
noStroke();
fill(#646251, 150);
quad(30, 810, 1370, 810, 1870, 1200, -470, 1200);

//Shadow First Row Computer
for (float x = 380; x < width – 300; x += 600) {
noStroke();
fill(#484741, 150);
quad(x, 810, x+200, 810, x+100, 850, x-50, 850);
}

//Inside Third Row Computer Border
for (float x = 474; x < width – 500; x += 250) {
noStroke();
fill(0, 150);
rect(x, 270, 200, 130, 10, 10, 0, 0);
}

//Inside Third Row Computer Screen
for (float x = 484; x < width – 500; x += 250) {
noStroke();
fill(#0A0A0A, 120);
rect(x, 280, 180, 110);
}

//Third Row Computer Writing
for (float y = 290; y < height – 525; y += 10) {
for (float x = 507; x < width – 500; x += 250) {
fill(50,200,50);
textSize(5);
String t = “We Must Not Tell Lies.”;
text(t, x, y, x+40, y);
text(t, x+70, y, x+170, y);
}
}

  //Inside Third Row Computer Bottom
for (float x = 474; x < width – 500; x += 250) {
noStroke();
fill(#C9C59E);
rect(x, 400, 200, 15, 0, 0, 10, 10);
}//Inside Second Row Computer Border
for (float x = 350; x <  width – 300; x += 400) {
noStroke();
fill(0, 150);
rect(x, 355, 300, 190, 15, 15, 0, 0);
}

//Inside Second Row Computer Screen
for (float x = 365; x < width – 300; x += 400) {
noStroke();
fill(#0A0A0A, 150);
rect(x, 370, 270, 160);
}

//Second Row Computer Writing
for (float y = 385; y < height – 390; y += 12.5) {
for (float x = 393; x < width – 300; x += 403) {
fill(50,200,50);
textSize(8);
String t = “We Must Not Tell Lies.”;
text(t, x, y, x+60, y);
text(t, x+110, y, x+170, y);
}
}

//Inside Second Row Computer Bottom
for (float x = 350; x < width – 300; x += 400) {
noStroke();
fill(#C9C59E);
rect(x, 545, 300, 30, 0, 0, 15, 15);
}

//Inside First Row Computer Border
for (float x = 180; x < width – 300; x += 600) {
noStroke();
fill(0, 200);
rect(x, 440, 440, 290, 20, 20, 0, 0);
}

//Inside First Row Computer Screen
for (float x = 200; x < width – 300; x += 600) {
noStroke();
fill(#0A0A0A, 180);
rect(x, 460, 400, 250);
}

//Front Row Computer Writing
for (float y = 480; y < height – 200; y += 20) {
for (float x = 240; x < width – 300; x += 600) {
fill(50,200,50);
textSize(12);
String t = “We Must Not Tell Lies.”;
text(t, x, y, x+60, y);
text(t, x+165, y, x+225, y);
}
}

//Inside First Row Computer Bottom
for (float x = 180; x < width – 300; x += 600) {
noStroke();
fill(#C9C59E);
rect(x, 730, 440, 50, 0, 0, 20, 20);
}

//Inside First Row Computer Stand
for (float x = 350; x < width – 300; x += 600) {
noStroke();
fill(#AFAC8A);
rect(x, 780, 100, 50);
}

//Inside First Row Computer Stand Bottom
for (float x = 350; x < width – 300; x += 600) {
noStroke();
fill(#BCB898);
quad(x, 830, x+100, 830, x+130, 850, x-30, 850);
}

//Light TurnOnOff Effect
if(onoff == false) {
fill(0);
rect(0, 0, 1400, 900);
}
if(second() == holdSecond) {
onoff = true;
}

//Save Image as JPEG
saveFrame(“We Must Not Tell Lies-##.jpg”);
}

void mouseClicked() {
onoff = true;
if(second() > 59-howLongToShow) {
holdSecond = howLongToShow + second() – 60;
} else {
holdSecond = second() + howLongToShow;
}
}

Leave a reply

Skip to toolbar