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 |