xxxxxxxxxx
21
var x, y;
var counter = 0;
function setup() {
createCanvas(400, 400);
x = width/2;
y = height/2;
noStroke();
background(0);
}
function draw() {
//update
x += noise(50, counter) - 0.5;
y += noise(0, counter) - 0.5;
counter += 0.01;
//draw
// background(0, 4);
ellipse(x, y, 1);
}