summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames McKenzie <git@madingley.org>2014-12-08 23:59:51 +0000
committerJames McKenzie <git@madingley.org>2014-12-08 23:59:51 +0000
commit72b4103730135bb63d5edb4859c866a311077666 (patch)
tree28b4e887d95283f0916a851322be9054683ed118
parenta5d8823bf6c362d00a6118c03d16785bebf08f1f (diff)
downloadrgb_ring-katherine.tar.gz
rgb_ring-katherine.tar.bz2
rgb_ring-katherine.zip
blue and magentakatherine
-rw-r--r--blinky.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/blinky.c b/blinky.c
index 51f86c1..a72a00f 100644
--- a/blinky.c
+++ b/blinky.c
@@ -54,7 +54,7 @@ setup_colors (struct RGB *colors, int n)
colors[i].r = ramp (((i) % n) - n3, n3);
//colors[i].g = ramp (((i + n3) % n) - n3, n3);
//colors[i].b = ramp (((i + n3 + n3) % n) - n3, n3);
- colors[i].g=(128+colors[i].r)/2;
+ colors[i].b=255;
printf ("%3d: %3d %3d %3d\n", i, colors[i].r, colors[i].g, colors[i].b);
@@ -108,3 +108,4 @@ main (void)
i %= N_COLORS;
}
}
+