After the battle

This year went out Githa, Harold’s mother, and the wives of many good men with her, to the Flat-Holm, and there abode some time; and so departed thence over sea to St. Omer’s.
The Anglo Saxon Chronicle 1067-69

T.ISL, Geonames + DBPedia

Islands of Wales

PREFIX geo-pos: <http://www.w3.org/2003/01/geo/wgs84_pos#>
PREFIX geo-ont: <http://www.geonames.org/ontology#>
PREFIX omgeo: <http://www.ontotext.com/owlim/geo#>
SELECT ?name ?link
WHERE {
  ?link geo-ont:name ?name .  
  ?link geo-ont:featureCode geo-ont:T.ISL .
  ?link geo-ont:parentADM1 dbpedia:Wales .
}

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();
}

Broug p.30 i=7 j=4

kairouan-i7-j4

float r= 43;
int fCol = 240;

PLine[] lines;

void setup(){
  size(620,400);
  hint(ENABLE_STROKE_PURE);

  lines = new PLine[8];

  for(int i=0; i<lines.length; i++){
    lines[i] = new PLine();
  }
  background(255);
}

void draw(){
  stroke(fCol);
  translate(-r+10,r+10);

  createFrame();

 for(int j=0; j<4;j++){
    detranslate();
    translate(0,2*j*r);
    for(int i=0; i<7;i++){
      translate(2*r,0);
      stroke(210);
      strokeWeight(0.4);
      drawAxes();
      drawSpokes();
      drawFrame();
      stroke(0);  
      strokeWeight(1);    
      drawPattern(); 
    }

  }
}

void detranslate(){
   resetMatrix();
   translate(-r+10,r+10);   
}

void drawPattern(){
  Point a = lines[0].intersect(lines[3],false);
  Point b = lines[0].intersect(lines[2], false);
  Point c = lines[2].intersect(lines[3].getMirrorX(),false);
  Point d = lines[2].intersect(lines[3].getRotate90(),false);

  lines[4] = new PLine(0,r,a.x,a.y);
  lines[5] = new PLine(b.x,b.y,lines[0].x2,lines[0].y2);
  lines[6] = new PLine(-a.x,a.y,c.x,c.y); 
  lines[7] = new PLine(b.x,b.y,d.x,d.y);

  lines[4].spin4MirrorX();
  lines[5].spin4MirrorDiag();
  lines[6].spin4MirrorX();
  lines[7].spin4MirrorDiag();

}
 Continue reading