Disegno di poligoni irregolari con curve

fill

// height=110 lines=auto
function setup() {
    background( 220 );

    beginShape();

        vertex( 20,15 );
        vertex( 45,15 );
        vertex( 45,50 );
        vertex( 95,50 );
        vertex( 40,90 );
        bezierVertex( 10,95, 5,15, 20,15 );

    endShape();
}