X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=DanHorwitz.pde;h=b15bad9d1b6a801a8fd6ebe84610043f3248f8c0;hb=a8d55ade10d68a95188105282c2c453816b20708;hp=3b7e1d6ef37074bc5f59e537052e8c51b1021c5c;hpb=34327c962351112e07c3d93f56ffc543fac45b58;p=SugarCubes.git diff --git a/DanHorwitz.pde b/DanHorwitz.pde index 3b7e1d6..b15bad9 100755 --- a/DanHorwitz.pde +++ b/DanHorwitz.pde @@ -17,7 +17,7 @@ public class Pong extends DPat { pChoose = addPick ("Animiation" , 0 , 3 ); } - void StartRun(int deltaMs) { cRad = xdMax*pSize.Val()/6; } + void StartRun(double deltaMs) { cRad = xdMax*pSize.Val()/6; } color CalcPoint(xyz p) { xyz v = new xyz(x.getValuef(), y.getValuef(), z.getValuef()); switch(pChoose.Cur()) { @@ -56,7 +56,7 @@ public class Noise extends DPat pSymm = addPick("Symmetry", 0, 4); pChoose = addPick("Animation", 1, 6); } - void StartRun(int deltaMs) { + void StartRun(double deltaMs) { zTime += deltaMs*(pSpeed.Val()-.5)*.002 ; zTheta += deltaMs*(pRotZ .Val()-.5)*.01 ; rtime += deltaMs; @@ -135,7 +135,7 @@ public class Play extends DPat float LastBeat=3, LastMeasure=3; int CurRandTempo = 1; - void StartRun(int deltaMs) { + void StartRun(double deltaMs) { t = lx.tempo.rampf(); a = pAmp.Val();