X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=AlexGreen.pde;fp=AlexGreen.pde;h=d2220b790e2367b9578fecef68a0e223f8413464;hb=bdef287d097659a12c9573879d0e8a7e34cbdef6;hp=910371a4c2dac3c2ea7eba695e8fe6286ea4b2f9;hpb=387121363db26b9fa3d209093675ba58433bf886;p=SugarCubes.git diff --git a/AlexGreen.pde b/AlexGreen.pde index 910371a..d2220b7 100644 --- a/AlexGreen.pde +++ b/AlexGreen.pde @@ -4,6 +4,7 @@ class SineSphere extends DPat { private BasicParameter rotation = new BasicParameter("rotation", 0); float modelrad = sqrt((model.xMax)*(model.xMax) + (model.yMax)*(model.yMax) + (model.zMax)*(model.zMax)); Pick Sshape; + public final PVector P = new PVector(); class Sphery { float f1xcenter, f1ycenter, f1zcenter, f2xcenter , f2ycenter, f2zcenter; //second three are for an ellipse with two foci @@ -18,9 +19,6 @@ class SineSphere extends DPat { public BasicParameter huespread; public BasicParameter bouncerate; public BasicParameter bounceamp; - public PVector circlecenter; - - public Sphery(float f1xcenter, float f1ycenter, float f1zcenter, float vibration_min, float vibration_max, float vperiod) { @@ -41,7 +39,7 @@ class SineSphere extends DPat { //addModulator(bounceamp); //ybounce.setMagnitude(bouncerate); addModulator( vibration = new SinLFO(vibration_min , vibration_max, 240000./lx.tempo.bpm())).trigger(); //vibration.modulateDurationBy(vx); - + } public Sphery(float f1xcenter, float f1ycenter, float f1zcenter, float f2xcenter, float f2ycenter, float f2zcenter, float vibration_min, float vibration_max, float vperiod)