/*Jeremy Turner (JOT) Assignment A2-02 #200024742 Using beginShape() and endShape(), create a composition with 10 or more vertices...*/ void setup () { size (666, 666); background (64, 3, 252); } void draw () { fill (190, 129, 216); smooth(); //the polygon fan looked too "edgy" without the smooth function. beginShape (TRIANGLE_FAN); //although the basic fan looks great to begin with, //..I like how I can gradually de-trianglize the shape... vertex (536, 111); vertex (88, 22); vertex (77, 33); vertex (99, 444); vertex (202, 55); vertex (33, 666); vertex (55, 108); vertex (66, 303); vertex (44, 404); vertex (17, 117); vertex (608, 642); vertex (440, 660); endShape(); }