Random sized star

How would I get started making the size of this star (taken from the documentation) random?

//Draws a star
ofSetPolyMode(OF_POLY_WINDING_NONZERO);
ofBeginShape();
ofVertex(400,135);
ofVertex(215,135);
ofVertex(365,25);
ofVertex(305,200);
ofVertex(250,25);
ofEndShape();

You can use ofScale(x,y,1) and randomly scale the x,y value?

1 Like

Thank you that worked!