23 de fevereiro de 2021

,

poema sonho 2

 void setup() {

  fullScreen();
  frameRate(1);
}

void draw() {

  background (random(255), random(255), random(255));
  color from = color (#F7A90C);
  color to = color (#F7300C);
  color interA = lerpColor (from, to, .1);
  color interB = lerpColor (from, to, .10);
  color interC = lerpColor (from, to, .20); 
  color interD = lerpColor (from, to, .30);
  color interE = lerpColor (from, to, .40);
  color interF = lerpColor (from, to, .50);

  noStroke();
  fill (to); 
  rect (random (0, 1100), random (0, 300), 400, 200);
  fill (interD); 
  rect (random (0, 1000), random (0, 600), 400, 200);
  fill (interC); 
  rect (random (0, 800), random (0, 500), 400, 200);
  fill (interB); 
  rect (random (0, 750), random (0, 350), 400, 200); 
  fill (interA); 
  rect (random (0, 900), random (0, 620), 400, 200); 
  fill (from); 
  rect (random (0, 850), random (0, 400), 400, 200); 
  fill (interE); 
  rect (random (0, 900), random (0, 600), 400, 200); 
  fill (interF); 
  ellipse (random (0, 1000), random (0, 600), 280, 280);
}