From 6a713ba6966eee4cf7bb9fb9e1513918fc94b528 Mon Sep 17 00:00:00 2001 From: David Runge Date: Thu, 31 Dec 2015 03:31:26 +0100 Subject: Adding createDividingLines() functionality. --- AutoVisual/IGPPentagon.pde | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/AutoVisual/IGPPentagon.pde b/AutoVisual/IGPPentagon.pde index 881adca..d193b2f 100644 --- a/AutoVisual/IGPPentagon.pde +++ b/AutoVisual/IGPPentagon.pde @@ -31,10 +31,21 @@ class IGPPentagon extends IGPFamily{ endShape(); } + void createDividingLines(){ + stroke(0.0, 0.66, 0.0, 0.4); + createLine(mid, constructionCircleCenters.get(0)); + createLine(mid, constructionCircleCenters.get(1)); + createLine(mid, constructionCircleCenters.get(2)); + createLine(mid, constructionCircleCenters.get(3)); + createLine(mid, constructionCircleCenters.get(4)); + } + void display() { super.display(); createInnerPentagon(); + createDividingLines(); } + void displayConstructionLines(){ super.displayConstructionLines(); createConstructionCircles(); -- cgit v1.2.3-70-g09d2