xxxxxxxxxx
24
function setup() {
createCanvas(400, 400);
}
function draw() {
background(220);
translate(width/2,height/2)
beginShape()
for( let i = 0; i <= 20; i++ ){
n = noise(i*0.6) - 0.5
let x = sin( i/20 * TWO_PI) * width/4 + n * 20
let y = cos( i/20 * TWO_PI) * width/4 + n * 20
curveVertex( x, y )
}
endShape()
}