diff options
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; } } + |