From: Ben Morrow Date: Sun, 25 Aug 2013 06:04:06 +0000 (-0700) Subject: Add huespan limit and hueoffset X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=130802e35e14d2ee0bf1725f23d4f2fd46ced2a5;p=SugarCubes.git Add huespan limit and hueoffset --- diff --git a/BenMorrow.pde b/BenMorrow.pde index 67fbbeb..a7f40da 100644 --- a/BenMorrow.pde +++ b/BenMorrow.pde @@ -1,5 +1,7 @@ class TowerParams extends SCPattern { + BasicParameter hueoff = new BasicParameter("Hueoff", 0.0); + BasicParameter hueSpan = new BasicParameter("HueRange", 0.0); BasicParameter t1 = new BasicParameter("T1", 0.0); BasicParameter t2 = new BasicParameter("T2", 0.0); BasicParameter t3 = new BasicParameter("T3", 0.0); @@ -24,6 +26,8 @@ class TowerParams extends SCPattern super(glucose); towerParams = new ArrayList(); + addParameter(hueoff); + addParameter(hueSpan); towerParams.add(t1); towerParams.add(t2); towerParams.add(t3); @@ -60,7 +64,7 @@ class TowerParams extends SCPattern { if(p.y