xxxxxxxxxx
27
x1=0;
y1=0;
function setup() {
createCanvas(700, 700);
background(240);
}
function draw() {
x1 = x1 + 1;
y1 = y1 + 1;
lines = random(2);
rot = random(1);
for (x = 0; x < 360; x = x + 0.2) {
push();
translate(width / 2, height / 2);
rotate(radians(x));
point(x1*(random(1)), y1*(random(1)));
pop();
}
if (x1 > 200) {
noLoop();
}
}