xxxxxxxxxx
var x = 50;
var y = 50;
var vx = 5 ;
var vy = 5
function setup() {
createCanvas(windowWidth, windowHeight);
background(100);
}
function draw() {
if(x>width || x<0 ){
vx=-vx
}
if(y>height || y<0 ){
vy=-vy
}
x=x+vx;
y=y+vy
ellipse(x, y, 55, 100);
describe('A white ellipse with black outline in middle of a gray canvas.');
color (50,100,0)
}