summaryrefslogtreecommitdiffstats
path: root/AutoVisual/IGPFamily.pde
diff options
context:
space:
mode:
Diffstat (limited to 'AutoVisual/IGPFamily.pde')
-rw-r--r--AutoVisual/IGPFamily.pde15
1 files changed, 15 insertions, 0 deletions
diff --git a/AutoVisual/IGPFamily.pde b/AutoVisual/IGPFamily.pde
index 093c025..7de1c0a 100644
--- a/AutoVisual/IGPFamily.pde
+++ b/AutoVisual/IGPFamily.pde
@@ -144,6 +144,21 @@ class IGPFamily {
translate(mid.x*(-1), mid.y*(-1));
}
+ void createInnerTriangle(){
+ stroke(0.0, 0.0, 0.66, 0.4);
+ triangle(alphaCircleVectors.get(1).x, alphaCircleVectors.get(1).y, alphaCircleVectors.get(5).x, alphaCircleVectors.get(5).y, alphaCircleVectors.get(9).x, alphaCircleVectors.get(9).y);
+ }
+
+ void createInnerTriangleTilted(float angle){
+ stroke(0.0, 0.0, 0.66, 0.4);
+ translate(mid.x, mid.y);
+ pushMatrix();
+ rotate(radians(angle));
+ triangle(alphaCircleVectors.get(1).x-mid.x, alphaCircleVectors.get(1).y-mid.y, alphaCircleVectors.get(5).x-mid.x, alphaCircleVectors.get(5).y-mid.y, alphaCircleVectors.get(9).x-mid.x, alphaCircleVectors.get(9).y-mid.y);
+ popMatrix();
+ translate(mid.x*(-1), mid.y*(-1));
+ }
+
void display() {
createAlphaCircle();
}