diff options
author | David Runge <dave@sleepmap.de> | 2016-01-02 06:28:45 +0100 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2016-01-02 06:28:45 +0100 |
commit | 50bbc71690373ae49cef78578e64aec97f7ac751 (patch) | |
tree | d876ec253285fa2b6a2e67fe614238e8895180a2 | |
parent | 2f48fe13cbd130db75fc45d6853b8839d94e2a61 (diff) | |
download | processing-sketchbook-50bbc71690373ae49cef78578e64aec97f7ac751.tar.gz processing-sketchbook-50bbc71690373ae49cef78578e64aec97f7ac751.tar.bz2 processing-sketchbook-50bbc71690373ae49cef78578e64aec97f7ac751.tar.xz processing-sketchbook-50bbc71690373ae49cef78578e64aec97f7ac751.zip |
AutoVisual/IGPFamily.pde: Adding ArrayList with PVectors for a 16 parts
setup on the alpha circle.
-rw-r--r-- | AutoVisual/IGPFamily.pde | 18 |
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){ |