Dra­w­i­n­g with Ran­d­o­m­n­e­s­s I

by Travis Low
  • Show Sketch
/** @peep sketchcode */
 
size (500,500);
background(120);
strokeWeight(2);
rectMode(CENTER);
smooth();
float inc = 0.01;
noiseSeed(0);
for (int x = 0; x < width; x+= 15) {
  for (int y = 0; y < height; y+= 15) {
    int r = int(random(5, 35));
      float n = noise(x * inc) * r;
      rect(x, y+n , r, r); 
 
 
  }
}

Comments

Nobody has said anything yet.