Noise first draft

by Julia Spyrou
  • Show Sketch
/** @peep sketchcode */
 
 
size(400, 300);
background(0); //black background
 
float inc = 0.2; 
stroke(random(300), random(300), random(300), random(300)); //changes colour based on a random number
fill(255, 60); 
noiseSeed(0); 
for (int x = 0; x < width; x += 4) { 
  float n = noise(x * inc) * 70.0; 
  rect(x, random(100,10 + n), 3, random(100,10 + n)); 
}

Comments

Nobody has said anything yet.