var startOffset=0;
var xpos = 30;
var dir = 1;
var speed = 2;
var l;

function setup() {
  // createCanvas(800,800)
   createCanvas(displayWidth+200, displayHeight);
      // createCanvas(800,400);
  // background('#fffff8')
    background('#F9DA78')
  // Initialize all values



}
  

function draw(){
// translate(width/3, height/8);
  for (var l = 0;l< width;l+=20){
  //randomGaussian(mean, standard deviation)
  var g = randomGaussian(20,55)
  //noise is based on "Perlin Noise"
  var h = noise(startOffset)*200;
   //fill(15,h*PI,g)
  
  //create a settomg tp adjust this color with a knob-maybe start with a slider to be asy
  fill(h*TWO_PI,h*HALF_PI,90)
  var r = rect(l-500,h*PI,20, h);
 
}


  
 

  startOffset += 0.01;

// end draw
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.