Suggestion about TRON colors

  • QnpfvTPz
    16th February Member 0 Permalink

     

    Currently, the color of TRONs is defined like this:

    for (i=0; i<32; i++)
    {
    HSV_to_RGB(i<<4,255,255,&r,&g,&b);
    tron_colours[i] = r<<16 | g<<8 | b;
    }

     

    But the range for hues is 360, and the max value of "i<<4" is 496,

    it has to be replaced with "(int)(i*11.25)" to be more colorful

     

     

    Current distribution:

    Hue Percentage
    Red 17.8
    Yellow 17.8
    Green 17.8
    Cyan 13.3
    Blue 17.8
    Magenta 15.6
    Edited once by QnpfvTPz. Last: 16th February
  • jacob1
    16th February Developer 0 Permalink
    Dunno, I think it's colorful enough right now. We don't need to change it just to even out the percentages a little.