X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=DanKaminsky.pde;fp=DanKaminsky.pde;h=f16c0bd2d2ed8df7a2f2df86a90d715f2ee54797;hb=2bb5682284f70c5788cbfcb9cba3c7bf66a104b6;hp=4021d07b34fde920886f88d95d99c5acbdd9f9fe;hpb=bae2197a9a134bd45f983cd81ceb635d646620e3;p=SugarCubes.git diff --git a/DanKaminsky.pde b/DanKaminsky.pde index 4021d07..f16c0bd 100644 --- a/DanKaminsky.pde +++ b/DanKaminsky.pde @@ -174,10 +174,10 @@ class OSC_Balls extends OSCPattern { } void run(double deltaMs){ - for(Point p: model.points){ colors[p.index]=0; } + for(LXPoint p: model.points){ colors[p.index]=0; } for(int i=1; i x-4 && p.y < y+4 && p.y > y-4) { colors[p.index] = #FF0000; } @@ -207,7 +207,7 @@ import processing.serial.*; pret.pixels = ss.getScreenShotJNI2(x, y, w, h); //for(int i=0; i