From 53cc9939a86946df6a9065659e2e47e70dd48c6a Mon Sep 17 00:00:00 2001 From: David Runge Date: Mon, 4 Jan 2016 21:48:32 +0100 Subject: AutoVisual/AutoVisual.pde: Cleaning up after Kairouan. Previous (finished) classes are commented. --- AutoVisual/AutoVisual.pde | 23 ++++++++++++++++------- 1 file 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(); + } -- cgit v1.2.3-70-g09d2