xxxxxxxxxx
19
var x, y;
function setup() {
createCanvas(400, 400);
x = width/2;
y = height/2;
noStroke();
background(0);
}
function draw() {
//update
x += random(-1, 1);
y += random(-1, 1);
//draw
// background(0, 4);
ellipse(x, y, 1);
}