> show canvas only <


/* built with Studio Sketchpad: 
 *   https://sketchpad.cc
 * 
 * observe the evolution of this sketch: 
 *   https://studio.sketchpad.cc/sp/pad/view/ro.Dgg$em4CGmz/rev.28
 * 
 * authors: 
 *   Fun Programming

 * license (unless otherwise specified): 
 *   creative commons attribution-share alike 3.0 license.
 *   https://creativecommons.org/licenses/by-sa/3.0/ 
 */ 



// Watch for 2 minutes. It will go crazy.

void setup() {
  size(400, 400);
  colorMode(HSB);
}

float k(float n, float f) {
  return 10 + 100 * noise(n + f / 150);
}


void draw() {
  float y = 0;
  float f = float(frameCount);
  while (y < height) {
    stroke(
      128 + 128*sin(f / k(30, f) + y/k(10, f)), 
      128 + 128*sin(f / k(40, f) + y/k(20, f)), 
      128 + 128*sin(f / k(50, f) + y/k(10, f))
    );
    line(0, y, width, y);
    y = y + 1;
  }
}