xxxxxxxxxx
48
function setup() {
createCanvas(windowWidth,windowHeight);
}
function draw() {
noLoop();
a=random(2*width/3);b=random(2*height/3);
x1=random(width/8); y1=random(height/8);
cx2=width/7;cy2=0;qx2=width/5;qy2=height/6;x2=random(width/6,width/4);y2=random(height/8);
cx3=width/5;cy3=0;qx3=width/4;qy3=height/8;x3=random(width/4,width/2); y3=random(height/6);
/*x5=;y5=;
x6=;y6=;
x7=;y7=;*/
noFill();
strokeWeight(4);
background(220);
translate(a,b);
beginShape();
vertex(x1, y1);
bezierVertex(cx2,cy2,qx2,qy2,x2, y2);
bezierVertex(cx3,cy3,qx3,qy3,x3,y3);
endShape();
}