Broug p.27 i=7 j=4

cordoba-i7j4


void drawPattern(){
   lines[1] = new PLine(0,tan(PI/8)*r,-r,tan(PI/8)*2*r);
   lines[2] = new PLine(r,0,cos(PI/4) * tan(PI/8)*r, sin(PI/4)*tan(PI/8)*r);

   lines[1].spin4MirrorDiag();
   lines[2].spin4MirrorDiag();

}

void createFrame(){
   lines[0] = new PLine(r,0,-r,tan(PI/8)*2*r);
}

void drawFrame(){
   lines[0].spin4MirrorDiag();
}