xxxxxxxxxx
23
let x;
let y;
let r = 45;
let col;
function setup() {
createCanvas(400, 400);
x = width/2;
y = height/2;
col = color(random(255), random(255), random(255));
background(0);
}
function draw() {
noStroke();
fill(col);
circle(x, y, r);
x += random(-6, 6);
y += random(-6, 6);
col = color(x, noise(x,y), y);
print(noise(x,y) * 255);
//col = color(random(255), random(255), random(255));
}