SketchBook

function setup() {
createCanvas(windowWidth,
windowHeight);
background(200, 234, 234);
}

function draw() {

noStroke();
fill(0, 125, 100, 2);

//adding value to the x coordinate of the first point.
rect(150 + frameCount / 3, 78, 32, 296, 263, 296);
}