xxxxxxxxxx
function setup() {
createCanvas(windowWidth, windowHeight);
background(100);
x=width/2,y=height/2
delta=10
}
var x,y
function draw() {
x+=random(-delta,delta)
y+=random(-delta,delta)
delta=mouseX/50
var colorR=map(mouseX,0,width-10,0,255,true)
fill(colorR,0,0)
ellipse(x,y,100,100)
}