diff options
author | James McKenzie <git@madingley.org> | 2014-12-08 23:59:51 +0000 |
---|---|---|
committer | James McKenzie <git@madingley.org> | 2014-12-08 23:59:51 +0000 |
commit | 72b4103730135bb63d5edb4859c866a311077666 (patch) | |
tree | 28b4e887d95283f0916a851322be9054683ed118 /blinky.c | |
parent | a5d8823bf6c362d00a6118c03d16785bebf08f1f (diff) | |
download | rgb_ring-72b4103730135bb63d5edb4859c866a311077666.tar.gz rgb_ring-72b4103730135bb63d5edb4859c866a311077666.tar.bz2 rgb_ring-72b4103730135bb63d5edb4859c866a311077666.zip |
blue and magentakatherine
Diffstat (limited to 'blinky.c')
-rw-r--r-- | blinky.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; } } + |