cubecenter for cubecurl
[SugarCubes.git] / BenMorrow.pde
index a7f40da47f878c38c4c0fd6167bf4d5f77b74bf2..1eb8ae195e7244601ed00bc7c015551591c41d19 100644 (file)
@@ -53,7 +53,7 @@ class TowerParams extends SCPattern
                println("towers "+towerSize);
        }
 
-       void run(int deltaMs)
+       void run(double deltaMs)
        {
                clearALL();
                Tower t;
@@ -64,7 +64,7 @@ class TowerParams extends SCPattern
                        {
                                if(p.y<towerParams.get(i).getValuef()*200)
                                {
-                                       colors[p.index]=color(255 * hueoff.getValuef()+colorSpan * hueSpan.getValuef() * i,255,255);
+                                       colors[p.index]=color(255 * hueoff.getValuef()+colorSpan * hueSpan.getValuef() * i, 255, 255);
                                }
                        }
                }
@@ -101,7 +101,7 @@ class Sandbox extends SCPattern
                println("towers "+towerrange);
        }
        
-       public void run(int deltaMs) {
+       public void run(double deltaMs) {
                
 
                if(counter % 10 ==0)
@@ -137,7 +137,7 @@ class GranimTestPattern extends GranimPattern
                getGraphicByName("myOtherColors").position=100;
        }
        int counter=0;
-       public void run(int deltaMs) 
+       public void run(double deltaMs) 
        {
                clearALL();
                super.run(deltaMs);
@@ -177,7 +177,7 @@ class GranimTestPattern2 extends GranimPattern
        }
        int counter=0;
        float count=0;
-       public void run(int deltaMs) 
+       public void run(double deltaMs) 
        {
                clearALL();
                super.run(deltaMs);
@@ -265,4 +265,4 @@ class DriveableCrossSections extends CrossSections
                }
        }
 
-}
\ No newline at end of file
+}