//Aileen Craig //Section B //aacraig@andrew.cmu.edu //Homework 2 println("My initials are AAC"); size(600, 400); background(#58B452); smooth(); strokeWeight(7); noFill(); int x=100; int y=100; int iHeight = 150; int iWidth = 150; //First A stroke(#060A4D); beginShape(); curveVertex(x + .12*iWidth, y + .95*iHeight); curveVertex(x + .1*iWidth, y + .9*iHeight); curveVertex(x + .5*iWidth, y + .1*iHeight); curveVertex(x + .9*iWidth, y + .9*iHeight); curveVertex(x + .75*iWidth, y + .95*iHeight); endShape(); beginShape(); curveVertex(x + .2*iWidth, y + .6*iHeight); curveVertex(x + .23*iWidth, y + .55*iHeight); curveVertex(x + .4*iWidth, y + .45*iHeight); curveVertex(x + .6*iWidth, y + .6*iHeight); curveVertex(x + .75*iWidth, y + .5*iHeight); curveVertex(x + .8*iWidth, y + .45*iHeight); endShape(); //Second A stroke(#CE2AB0); beginShape(); curveVertex(x + 1.12*iWidth, y + .95*iHeight); curveVertex(x + 1.1*iWidth, y + .9*iHeight); curveVertex(x + 1.5*iWidth, y + .1*iHeight); curveVertex(x + 1.9*iWidth, y + .9*iHeight); curveVertex(x + 1.75*iWidth, y + .95*iHeight); endShape(); beginShape(); curveVertex(x + 1.2*iWidth, y + .6*iHeight); curveVertex(x + 1.23*iWidth, y + .55*iHeight); curveVertex(x + 1.4*iWidth, y + .45*iHeight); curveVertex(x + 1.6*iWidth, y + .6*iHeight); curveVertex(x + 1.75*iWidth, y + .5*iHeight); curveVertex(x + 1.8*iWidth, y + .45*iHeight); endShape(); //The C stroke (#ECF033); beginShape (); curveVertex (x + 2.6*iWidth, y + .4*iHeight); curveVertex (x + 2.65*iWidth, y + .35*iHeight); curveVertex (x + 2.55*iWidth, y + .15*iHeight); curveVertex (x + 2.2*iWidth, y + .5*iHeight); curveVertex (x + 2.55*iWidth, y + .9*iHeight); curveVertex (x + 2.65*iWidth, y + .7*iHeight); curveVertex (x + 2.6*iWidth, y + .65*iHeight); endShape ();