summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2015-12-31 03:31:26 +0100
committerDavid Runge <dave@sleepmap.de>2015-12-31 03:31:26 +0100
commit6a713ba6966eee4cf7bb9fb9e1513918fc94b528 (patch)
treed279f15c6e3006fdcf230c15911c88787e9f46c4
parent434f041585cc1bacac3c90a4c5099d1ea9434ed6 (diff)
downloadprocessing-sketchbook-6a713ba6966eee4cf7bb9fb9e1513918fc94b528.tar.gz
processing-sketchbook-6a713ba6966eee4cf7bb9fb9e1513918fc94b528.tar.bz2
processing-sketchbook-6a713ba6966eee4cf7bb9fb9e1513918fc94b528.tar.xz
processing-sketchbook-6a713ba6966eee4cf7bb9fb9e1513918fc94b528.zip
Adding createDividingLines() functionality.
-rw-r--r--AutoVisual/IGPPentagon.pde11
1 files changed, 11 insertions, 0 deletions
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();