how to move an ellipse along the x axis in javascript code example
Example: how to move an ellipse along the x axis in javascript
let x = 10;
function draw(){
background(200);
ellipse(x,200,30,30);
x=x+2;
}
let x = 10;
function draw(){
background(200);
ellipse(x,200,30,30);
x=x+2;
}