Browse Source

* Changed the cacaplas colours. Yeah, I do what I want.

tags/v0.99.beta14
Sam Hocevar sam 18 years ago
parent
commit
071f31ecc8
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/cacaplas.c

+ 3
- 3
src/cacaplas.c View File

@@ -93,9 +93,9 @@ int main (int argc, char **argv)
{
double z = ((double)i) / 256 * 6 * M_PI;

red[i] = (1.0 + cos(z + r[0] * frame)) / 2 * 0xfff;
green[i] = (1.0 + sin(z + r[1] * frame)) / 2 * 0xfff;
blue[i] = (1.0 + cos(z + r[2] * frame)) / 2 * 0xfff;
red[i] = (1.0 + sin(z + r[1] * frame)) / 2 * 0xfff;
blue[i] = (1.0 + cos(z + r[0] * frame)) / 2 * 0xfff;
green[i] = (1.0 + cos(z + r[2] * frame)) / 2 * 0xfff;
}

/* Set the palette */


Loading…
Cancel
Save