class Star { float x, y; float or; float ir; int vs; Star(float x, float y, float or, float ir, int points) { this.x = x; this.y = y; this.or = or; this.ir = ir; this.vs = points*2; } void display() { float theta = 0.0; float xcoord, ycoord; beginShape(); xcoord = cos(theta-TWO_PI/vs); ycoord = sin(theta-TWO_PI/vs); curveVertex(xcoord*or+x, ycoord*or+y); for (int i=0; i