xxxxxxxxxx
function setup() {
createCanvas(559, 397, SVG);
//background(255);
clear();
noLoop();
}
function draw() {
stroke(0, 20, 150);
noFill();
for (i = 0; i < 100; i++) {
push();
translate(width/2, height/2);
//translate(random(50,500),random(50,500));
//let s = map(sin(millis()/100), -1, 1, -100, 100);
let r = random(PI);
rotate(r);
ellipse(0, 0, 100, 350); // position x, y, width, height
pop();
}
}
function mousePressed() {
save("mySVG.svg");
}