Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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;
}
 
PREVIOUS NEXT
Tagged: #move #ellipse #axis #javascript
ADD COMMENT
Topic
Name
4+6 =