Processing – Módulo II

Composição retro gaming com influências vintage dos anos ’80 do século passado.

Código:

size (900,900);

background(#e9ff34);

int a = 30;
int espaco = width / a;

noStroke ();
int b = 0;
while (b < a) {
  int c = 0;
  while (c < a) {
    circle(10 + (b * espaco), 10 + (c * espaco), 22);
    c = c + 1;
  }
  b = b + 1;
}

PFont font = createFont("C:/Users/CeX/AppData/Local/Microsoft/Windows/Fonts/PressStart2P-Regular.ttf", 92);
PFont font1 = createFont("C:/Users/CeX/AppData/Local/Microsoft/Windows/Fonts/Anton-Regular.ttf", 102);
PFont font2 = createFont("C:/Users/CeX/AppData/Local/Microsoft/Windows/Fonts/FugazOne-Regular.ttf", 120);

rectMode(CENTER);
float tamanho = 200; 

noFill();
stroke(30);
strokeWeight(5);
square(445,445, tamanho * 3);

strokeWeight(7);
square (445,445, tamanho / 0.303);

textAlign(CENTER);

fill(#ff20c9);
textFont(font);
textLeading(200);
text("READY", width/2, height/2.4);

fill(#46e8ff);
textFont(font1);
text("SET", width/2, height/1.78);

fill(#17ff84);
textFont(font2);
text("GO!!!", width/2, height/1.4);


save ("ReadySetGo.png");

Deixe um comentário