X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=DanHorwitz.pde;h=ab23fa5ddd69805b312811cb9211278a93f7b1a1;hb=8f4e6c99775f2724edf3cec488860eb68b06491c;hp=841a2ff9a0980faa7d5b9f588d77fe2e2d0f510e;hpb=d6b5635a112a63746046ae8664ca38419bd233ff;p=SugarCubes.git diff --git a/DanHorwitz.pde b/DanHorwitz.pde index 841a2ff..ab23fa5 100644 --- a/DanHorwitz.pde +++ b/DanHorwitz.pde @@ -71,7 +71,7 @@ public class Noise extends DPat void StartRun(double deltaMs) { zTime += deltaMs*(val(pSpeed)-.5)*.002 ; - zTheta += deltaMs*(val(pSpin )-.5)*.01 ; + zTheta += deltaMs*(spin()-.5)*.01 ; rtime += deltaMs; iSymm = pSymm.Cur(); zSin = sin(zTheta); @@ -403,7 +403,7 @@ class dCursor { evalTurn(vCur.t2); evalTurn(vCur.t3); } - Point p1, p2; int i2; + LXPoint p1, p2; int i2; int draw(int nAmount, SCPattern pat) { int nFrom = (pos ) >> 12; @@ -460,13 +460,14 @@ class Worms extends SCPattern { addParameter(pEQ); addParameter(pConfusion); addParameter(pSpawn); addParameter(pColor); - middle = new PVector(model.cx, model.cy, 71); + middle = new PVector(1.5*model.cx, 1.5*model.cy, 71); if (lattice == null) lattice = new dLattice(); for (int i=0; i