xxxxxxxxxx
24
var ellipseWidth = 50
function setup(){
createCanvas(windowWidth, windowHeight);
strokeWeight(4);
}
function draw() {
//background(244);
noFill();
stroke(map(sin(frameCount/100), 0, 1, 0, 255), 50, 100, 255);
ellipse(mouseX, mouseY, ellipseWidth, ellipseWidth, 200);
fill (255, 255, 255, map(sin(frameCount/50000), 0, 1, 0, 255));
rect(-10, -10, windowWidth+10, windowHeight+10);
}
/*
function windowResized() {
resizeCanvas(windowWidth, windowHeight);
}
*/