SHARE
TWEET

Untitled

a guest Feb 16th, 2020 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. size(1280, 720);
  2. color []  colorArray =new color[5];
  3.  
  4. colorArray [0] = color(174, 195, 176);
  5. colorArray [1] = color(170, 191, 172);
  6. colorArray [2] = color(168, 190, 170);
  7. colorArray [3] = color(164, 188, 166);
  8. colorArray [4] = color(160, 184, 162);
  9. int n = 0;
  10. for (int x=0; x<1280; x=x+50) {
  11.   for (int y=0; y<720; y=y+50) {
  12.     fill(colorArray[n]);
  13.     noStroke();
  14.     circle(x, y, 40);
  15.     if ( n<colorArray.length) {
  16.       n++;
  17.     }
  18.   }
  19. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top