void spiralDrop( int points, Vec2d center,float strechx, float strechy, int _rotate){//also does spiral

 Vec2d cp; //circle points as vector

 int rotations=10;

 glBegin(GL_LINE_STRIP);

for (int i = 0; i<points; i++){


///jagged part

float y = (i/1) % 10; //x/1 gives number of pixels you get a whole number from in regards to the number of pixels x/x =1 every point gets a integer remander

       y =fabs(y-5); //cuts in haalf 10 aand flips positive

  y = y; // increase amplitude from one

    y = clampMinMax(y ,0, 16); //cut top off

///spiral part

 float angle = ((rotations*PI)/points)*(i+_rotate); //2*pi is 360 divided into degree segments based on points multiplied by what point your on

 cp.x= cos(angle) * (strechx + (i/2));  //gets the length of x and muiltiplies by stretch

 cp.y= sin(angle) * (strechy + (i/4));  //gets the length of y and muiltiplies by stretch

 cp = cp+center; //sets the offset center point operator overload

 //cp.print();//debug


 glVertex2f(cp.x +y ,cp.y + y);


 }

  glEnd( );

}