var circ1
function setup() {
createCanvas(600, 120);
frameRate(10)
circ1 = {
x:0 // Start at the left edge of the canvas
}
}
function draw() {
background(‘blue’);
circ1.x = circ1.x + 10; // Move slightly to the right
strokeWeight(1);
fill(‘gray’)
noSmooth();
ellipse(circ1.x, 110, 17, 17);
ellipse(circ1.x+55,110,17,17);
strokeWeight(0)
smooth();
fill(‘brown’)
rect(circ1.x, 90,55,20);
}