Advertisement
xeromino

example1

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