X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=TestPatterns.pde;h=b2e49f1d129bcacdfd81985825951828b0cd7fec;hb=18a18c1563fccd4340e732e57a7f41f140b9a39a;hp=706626da836d492d66759725ea025aa825d10262;hpb=1d75c8a91217d2e9ff9d8b877a5e04f2f63afb00;p=SugarCubes.git diff --git a/TestPatterns.pde b/TestPatterns.pde old mode 100644 new mode 100755 index 706626d..b2e49f1 --- a/TestPatterns.pde +++ b/TestPatterns.pde @@ -16,10 +16,10 @@ class TestSpeakerMapping extends TestPattern { for (Strip strip : speaker.strips) { float b = 100; for (Point p : strip.points) { - colors[p.index] = color(h % 360, 100, b); - b = max(0, b - 10); - } - h += 70; + colors[p.index] = color(h % 360, 100, b); + b = max(0, b - 10); + } + h += 70; } } }