//define class variables Flower f1; Flower f2; Flower f3; Flower f4; void setup(){ size(400,400); // create new Objects // paremeters = x,y,c,speed f1 = new Flower(250,200,200,0.3); f2 = new Flower(100,100,-20,0.2); f3 = new Flower(190,140,0,0.1); f4 = new Flower(100,70,100,0.3); } void draw(){ background(255); smooth(); // call class functions for each object f1.drawstem(); f1.stemmove(); f1.ball(8); f2.drawstem(); f2.stemmove(); f2.ball(30); f3.drawstem(); f3.stemmove(); f3.ball(20); f4.drawstem(); f4.stemmove(); f4.ball(12); }