diff options
author | David Runge <dave@sleepmap.de> | 2015-12-31 05:17:19 +0100 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2015-12-31 05:17:19 +0100 |
commit | 8fccb64111837bbb05eae5bd8a58721c141c7ad2 (patch) | |
tree | d7462227fb61bd24536387b331feca61235377db | |
parent | 7d2955b095b692be0d27ff7cc83fe58e3c45117d (diff) | |
download | processing-sketchbook-8fccb64111837bbb05eae5bd8a58721c141c7ad2.tar.gz processing-sketchbook-8fccb64111837bbb05eae5bd8a58721c141c7ad2.tar.bz2 processing-sketchbook-8fccb64111837bbb05eae5bd8a58721c141c7ad2.tar.xz processing-sketchbook-8fccb64111837bbb05eae5bd8a58721c141c7ad2.zip |
AutoVisual/IGPFamily.pde: Expanding the createCircle() function by an
additional parameter for the diameter.
-rw-r--r-- | AutoVisual/IGPFamily.pde | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/AutoVisual/IGPFamily.pde b/AutoVisual/IGPFamily.pde index 7de1c0a..2dc2398 100644 --- a/AutoVisual/IGPFamily.pde +++ b/AutoVisual/IGPFamily.pde @@ -68,19 +68,19 @@ class IGPFamily { translate(mid.x*(-1), mid.y*(-1)); } - void createCircle(PVector v) { + void createCircle(PVector v, float diameter) { ellipse(v.x, v.y, diameter, diameter); } void createAlphaCircle() { stroke(1.0, 0.0, 0.0, 1.0); - createCircle(mid); + createCircle(mid, diameter); } void createConstructionCircles(){ stroke(0.66, 0.66, 0.66, 0.4); for (PVector constructionCircle : constructionCircleCenters) { - createCircle(constructionCircle); + createCircle(constructionCircle, diameter); } } |