diff options
| author | git@eclectronics.org <git@eclectronics.org@eclectronics.org> | 2012-02-17 19:11:17 +0000 |
|---|---|---|
| committer | git@eclectronics.org <git@eclectronics.org@eclectronics.org> | 2012-02-17 19:11:17 +0000 |
| commit | d6ffb40609d3fedcb2f4cae9ab64ebc7ac7f6521 (patch) | |
| tree | 30104b04fcf6d81d73e707f0dc55cf3ad798a2b2 | |
| parent | 6b47aa628182fc6dfa376113145d8f8b8bb047d1 (diff) | |
load/save data working
| -rw-r--r-- | bezierstroke.pde | 2 | ||||
| -rw-r--r-- | vodaviz.pde | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/bezierstroke.pde b/bezierstroke.pde index a2571da..3c96023 100644 --- a/bezierstroke.pde +++ b/bezierstroke.pde @@ -145,7 +145,7 @@ class gradientstroke3D { noFill(); float spos=0.0; - float step=.01; //optimise + float step=.03; //optimise //quad corner points //these are perpedicular on the screen as we are making a gradient line system diff --git a/vodaviz.pde b/vodaviz.pde index 566276e..35b5941 100644 --- a/vodaviz.pde +++ b/vodaviz.pde @@ -194,7 +194,7 @@ void setup(){ RG.init(this); mode="PDF"; - if (mode=="PDF") size(832,220,PDF, "vodaviz_circles_170212.pdf"); //P3D); //832,220); //nb pdf is 800x600 + if (mode=="PDF") size(832,220,PDF, "vodaviz_lines_170212_b.pdf"); //P3D); //832,220); //nb pdf is 800x600 else size(832,220); //,PDF, "testoutput.pdf"); //P3D); //832,220); //nb pdf is 800x600 // C. 33 - M. 3 - Y. 0 - K. 0 @@ -340,12 +340,12 @@ void draw() { if (true) { //draw gradient 3D lines if (calls.countries.get(i).points.size()>0) { - for (int j=0;j<log10(calls.countries.get(i).calls)*50;j++) { + for (int j=0;j<log10(calls.countries.get(i).calls)*15;j++) { RPoint Sp=ptrans.form(pnorm.alise(calls.countries.get(i).getpoint())); RPoint Ep=ptrans.form(pnorm.alise(Ireland.getpoint())); - //gstroke.drawstroke(Sp,Ep,fg); - RPoint Dp=smap.per(Sp,4); - ellipse(Dp.x+hw,Dp.y+hh,2,2); + gstroke.drawstroke(Sp,Ep,fg); + //RPoint Dp=smap.per(Sp,4); + //ellipse(Dp.x+hw,Dp.y+hh,2,2); } } } |
