X-Git-Url: https://git.piment-noir.org/?p=SugarCubes.git;a=blobdiff_plain;f=BenMorrow.pde;h=081da539b947c07ffcdc47d129d63eff3a7d7bf7;hp=f88e20857da377cfe5e67f41e4d98147025368d6;hb=dde759833df1c0190d9d3a982a90c0a4f8d76a26;hpb=4749563ed0cc35bde6bdd13eecdfc6e361d5320b diff --git a/BenMorrow.pde b/BenMorrow.pde index f88e208..081da53 100644 --- a/BenMorrow.pde +++ b/BenMorrow.pde @@ -9,8 +9,8 @@ class XYZPixel extends SCPattern float ym2 = model.yMin+cubeWidth; float zm2 = model.zMin+cubeWidth; - XYZPixel(GLucose glucose) { - super(glucose); + XYZPixel(LX lx) { + super(lx); //myP = new LXPoint(20,20,20); } @@ -50,8 +50,8 @@ class MultipleCubes extends SCPattern float minIS; - MultipleCubes(GLucose glucose) { - super(glucose); + MultipleCubes(LX lx) { + super(lx); minIS = 200; } @@ -130,8 +130,8 @@ class TowerParams extends SCPattern ArrayList towerParams; int towerSize; int colorSpan; - TowerParams(GLucose glucose) { - super(glucose); + TowerParams(LX lx) { + super(lx); towerParams = new ArrayList(); addParameter(hueoff); @@ -199,8 +199,8 @@ class Sandbox extends SCPattern int towerrange = model.towers.size(); int counter=0; - Sandbox(GLucose glucose) { - super(glucose); + Sandbox(LX lx) { + super(lx); println("points "+pointrange); println("strips "+striprange); println("faces "+facerange); @@ -234,9 +234,9 @@ class Sandbox extends SCPattern class GranimTestPattern extends GranimPattern { - GranimTestPattern(GLucose glucose) + GranimTestPattern(LX lx) { - super(glucose); + super(lx); addGraphic("myReds",new RedsGraphic(100)); int[] dots = {0,128,0,128,0,128,0,128,0,128,0,128}; addGraphic("myOtherColors",new ColorDotsGraphic(dots)); @@ -270,9 +270,9 @@ class GranimTestPattern extends GranimPattern class GranimTestPattern2 extends GranimPattern { - GranimTestPattern2(GLucose glucose) + GranimTestPattern2(LX lx) { - super(glucose); + super(lx); /*for(int i = 0;i < 100; i++) { Graphic g = addGraphic("myReds_"+i,new RedsGraphic(Math.round(Math.random() * 100))); @@ -310,8 +310,8 @@ class DriveableCrossSections extends CrossSections BasicParameter zd; BasicParameter mode; - DriveableCrossSections(GLucose glucose) { - super(glucose); + DriveableCrossSections(LX lx) { + super(lx); } public void addParams()