xxxxxxxxxx
23
let x, y;
let offset = 0;
let r, g, b;
function setup() {
createCanvas(400, 400);
strokeWeight(100);
//background(255,50)
}
function draw() {
background(255);
stroke(r, g, b);
r = noise(offset*0.022) * 255;//255is the range of the color; r,g,b needs to be different to be colorful
g = noise(offset) * 255;
b = noise(offset) * 255;
offset = offset + 0.01;
x = 200;
y = 200;
point(x, y);
}