xxxxxxxxxx
14
function setup() {
createCanvas(800, 600);
strokeWeight(10);
}
function draw() {
background(200);
let deg = frameCount*0.1;//map(mouseX, 0, width, 0, TWO_PI);
let x = sin(deg)*100+(mouseX);
let y = cos(deg)*100+(mouseY);
point(x,y);
}