summaryrefslogtreecommitdiffstats
path: root/AutoVisual
diff options
context:
space:
mode:
Diffstat (limited to 'AutoVisual')
-rw-r--r--AutoVisual/AutoVisual.pde23
1 files changed, 16 insertions, 7 deletions
diff --git a/AutoVisual/AutoVisual.pde b/AutoVisual/AutoVisual.pde
index 9db7ba9..84b733b 100644
--- a/AutoVisual/AutoVisual.pde
+++ b/AutoVisual/AutoVisual.pde
@@ -1,9 +1,12 @@
IGPSquare square;
IGPHexagon hexagon;
IGPPentagon pentagon;
+IGPTheGreatMosqueOfCordoba cordoba;
+IGPTheGreatMosqueOfKairouan kairouan;
+
float midx;
float midy;
-float circleSize = 256;
+float circleSize = 512;
void setup() {
size(640, 360);
@@ -13,15 +16,21 @@ void setup() {
// square = new IGPSquare(midx, midy, circleSize, 16);
hexagon = new IGPHexagon(midx, midy, circleSize);
pentagon = new IGPPentagon(midx, midy, circleSize);
+ cordoba = new IGPTheGreatMosqueOfCordoba(midx, midy, circleSize);
+ kairouan = new IGPTheGreatMosqueOfKairouan(midx, midy, circleSize);
}
void draw() {
background(0);
noFill();
- square.displayConstructionLines();
- square.display();
- hexagon.displayConstructionLines();
- hexagon.display();
- pentagon.displayConstructionLines();
- pentagon.display();
+
+// square.displayConstructionLines();
+// hexagon.displayConstructionLines();
+// pentagon.displayConstructionLines();
+
+// cordoba.display();
+// cordoba.displayConstructionLines();
+ kairouan.display();
+ kairouan.displayConstructionLines();
+
}