Advertisement
xeromino

nirvana

Nov 23rd, 2013
311
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.36 KB | None | 0 0
  1. color bg = #352238;
  2. color f = #87334F;
  3. int step;
  4. float diam;
  5.  
  6. void setup() {
  7.   size(600, 800);
  8.   background(bg);
  9.   fill(f);
  10.   noStroke();
  11.  
  12.   step = 50;
  13.   diam = 20;
  14.   for (int y=step/2; y<height; y +=step) {
  15.     for (int x=step/2; x< width; x += step) {
  16.       ellipse(x, y, diam, diam);
  17.       diam += 0.3;
  18.     }
  19.   }
  20.   save(random(12234)+".png");
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement