From: Ben Morrow Date: Mon, 19 Aug 2013 07:46:08 +0000 (-0700) Subject: Make GranimsTest more purty X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=1692ded217cbea0932d92153603c7d42ca2ba847;p=SugarCubes.git Make GranimsTest more purty --- diff --git a/BenMorrow.pde b/BenMorrow.pde index c632b8d..e610155 100644 --- a/BenMorrow.pde +++ b/BenMorrow.pde @@ -135,15 +135,8 @@ class DriveableCrossSections extends CrossSections addParameter(xd); addParameter(yd); addParameter(zd); - addParameter(xr); - addParameter(yr); - addParameter(zr); - addParameter(xw); - addParameter(xl); - addParameter(yl); - addParameter(zl); - addParameter(yw); - addParameter(zw); + + super.addParams(); } public void onParameterChanged(LXParameter p) { diff --git a/GranimPattern.pde b/GranimPattern.pde index 0a34baf..6c3088f 100644 --- a/GranimPattern.pde +++ b/GranimPattern.pde @@ -188,31 +188,35 @@ class RandomsGranim extends Granim _len=len; addGraphic("myrandoms", makeGraphic(len)); } + int colorLid=0; public Graphic makeGraphic(int len) { + int[] colors= new int[len]; for(int i =0;i