X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=TestPatterns.pde;fp=TestPatterns.pde;h=b2e49f1d129bcacdfd81985825951828b0cd7fec;hb=d429ada50e531ffe966c377a4b3c8702181d12b6;hp=706626da836d492d66759725ea025aa825d10262;hpb=0d13a42743a3e24023aeb4a25e73345c22107780;p=SugarCubes.git diff --git a/TestPatterns.pde b/TestPatterns.pde index 706626d..b2e49f1 100644 --- 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; } } }