//My growing flower. int y=0; //added on the give the flower height int x=0; //added on to the keep the stem from float away void setup ( ) { size (200, 200); //screen size } void draw ( ) { background (175, 241, 247); //sky blue background smooth(); fill(35, 183, 36); //green stem rect(100, 100+y, 5, 90+x); //stem fill (243, 234, 45); //yellow ellipse(100, 100+y, 10, 10); //center of the flower fill (216, 11, 73); //pink ellipse(90, 90+y, 20, 20); //pedals ellipse(110, 110+y, 20, 20); ellipse(88, 105+y, 20, 20); ellipse(110, 90+y, 20, 20); ellipse(98, 113+y, 20, 20); } void mousePressed ( ) { //makes the flower "grow" on click y=y-10; x=x+10; }