summaryrefslogtreecommitdiffstats
path: root/AutoVisual
diff options
context:
space:
mode:
Diffstat (limited to 'AutoVisual')
-rw-r--r--AutoVisual/IGPFamily.pde18
1 files changed, 18 insertions, 0 deletions
diff --git a/AutoVisual/IGPFamily.pde b/AutoVisual/IGPFamily.pde
index 4d05542..9ee62cc 100644
--- a/AutoVisual/IGPFamily.pde
+++ b/AutoVisual/IGPFamily.pde
@@ -3,6 +3,7 @@ class IGPFamily {
float diameter;
float radius;
ArrayList <PVector> alphaCircleVectors;
+ ArrayList <PVector> alphaCircleVectorsSixteen;
ArrayList <PVector> constructionCircleCenters;
ArrayList <PVector> constructionPartsTwelve;
ArrayList <PVector> constructionPartsSixteen;
@@ -30,6 +31,23 @@ class IGPFamily {
alphaCircleVectors.add(getVectorOnAlphaCircle(270));
alphaCircleVectors.add(getVectorOnAlphaCircle(300));
alphaCircleVectors.add(getVectorOnAlphaCircle(330));
+ alphaCircleVectorsSixteen = new ArrayList <PVector> (16);
+ alphaCircleVectorsSixteen.add(getVectorOnAlphaCircle(0));
+ alphaCircleVectorsSixteen.add(getVectorOnAlphaCircle(22.5));
+ alphaCircleVectorsSixteen.add(getVectorOnAlphaCircle(45));
+ alphaCircleVectorsSixteen.add(getVectorOnAlphaCircle(67.5));
+ alphaCircleVectorsSixteen.add(getVectorOnAlphaCircle(90));
+ alphaCircleVectorsSixteen.add(getVectorOnAlphaCircle(112.5));
+ alphaCircleVectorsSixteen.add(getVectorOnAlphaCircle(135));
+ alphaCircleVectorsSixteen.add(getVectorOnAlphaCircle(157.5));
+ alphaCircleVectorsSixteen.add(getVectorOnAlphaCircle(180));
+ alphaCircleVectorsSixteen.add(getVectorOnAlphaCircle(202.5));
+ alphaCircleVectorsSixteen.add(getVectorOnAlphaCircle(225));
+ alphaCircleVectorsSixteen.add(getVectorOnAlphaCircle(247.5));
+ alphaCircleVectorsSixteen.add(getVectorOnAlphaCircle(270));
+ alphaCircleVectorsSixteen.add(getVectorOnAlphaCircle(292.5));
+ alphaCircleVectorsSixteen.add(getVectorOnAlphaCircle(315));
+ alphaCircleVectorsSixteen.add(getVectorOnAlphaCircle(337.5));
}
PVector getVectorOnCircle(PVector mid, float degree){