class Sflower { float x, y, fx, fy; int fNum; color r ; float cx1,cy1,cx2,cy2; SampleNoise fxoff; Sflower(float x_, float y_){ x = x_; y = y_; fx = x+random(-2,2); fy = y-random(20, 55); fNum =int (random(5,8)); r = color( int(random(255)), int(random(255)), int(random(255)) ); cx1 = x+random(-1,2); cy1 = y+random(-1,2); cx2 = fx+random(-1,2); cy2 = fy+random(-1,2); fxoff = new SampleNoise(30) ; } void run(){ fxoff.genNoise(); display(); update(); } void display(){ float deg = TWO_PI/fNum; stroke(84,129,60,80); for(int i = 0; i