float num = 0; void setup(){ size(400, 400); } void draw(){ background(230); float x = noise(num) * width; line(x, 0, x, height); num = num + 0.01; // num += 0.1; }