xxxxxxxxxx
21
let x,s,d;
function setup() {
createCanvas(400, 400);
x = 0;
}
function draw() {
background(220);
speed(1,1);
drawCircle();
}
function speed(s,b) {
return (s+b)
}
function drawCircle() {
ellipse(x, 200, 50, 50);
}