xxxxxxxxxx
22
let t = 0;
function setup() {
createCanvas(400, 400);
}
function draw() {
background(0);
noFill();
stroke(255);
let x1 = map(noise(t), 0, 1, 0, width);
let y1 = map(noise(t + 50), 0, 1, 0, height);
let x2 = map(noise(t + 100), 0, 1, 0, width);
let y2 = map(noise(t + 150), 0, 1, 0, height);
ellipse(x1, y1, 100, 100);
ellipse(x2, y2, 100, 100);
t += 0.01;
}