X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=GranimPattern.pde;h=425b97cdb04ac6b236636da04fd8440850662e03;hb=0b1785e38f0b453bfa576225c6f0364b966c5b8b;hp=0a34bafe986d1d4baac8eda506158b9cc3a1ef40;hpb=2cbe69543e6783e632c76647586633aa7fe1f76b;p=SugarCubes.git diff --git a/GranimPattern.pde b/GranimPattern.pde index 0a34baf..425b97c 100644 --- a/GranimPattern.pde +++ b/GranimPattern.pde @@ -118,7 +118,7 @@ class GranimPattern extends SCPattern { colors[drawList.get(i).index] = gbuffer[i]; } - g.changed =false; + g.changed = false; } } @@ -188,31 +188,35 @@ class RandomsGranim extends Granim _len=len; addGraphic("myrandoms", makeGraphic(len)); } + int colorLid=0; public Graphic makeGraphic(int len) { + int[] colors= new int[len]; for(int i =0;i