From 50bbc71690373ae49cef78578e64aec97f7ac751 Mon Sep 17 00:00:00 2001 From: David Runge Date: Sat, 2 Jan 2016 06:28:45 +0100 Subject: AutoVisual/IGPFamily.pde: Adding ArrayList with PVectors for a 16 parts setup on the alpha circle. --- AutoVisual/IGPFamily.pde | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'AutoVisual') 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 alphaCircleVectors; + ArrayList alphaCircleVectorsSixteen; ArrayList constructionCircleCenters; ArrayList constructionPartsTwelve; ArrayList constructionPartsSixteen; @@ -30,6 +31,23 @@ class IGPFamily { alphaCircleVectors.add(getVectorOnAlphaCircle(270)); alphaCircleVectors.add(getVectorOnAlphaCircle(300)); alphaCircleVectors.add(getVectorOnAlphaCircle(330)); + alphaCircleVectorsSixteen = new ArrayList (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){ -- cgit v1.2.3-70-g09d2