Currently, GUI.COLORS.rand is a random selection of named colors. Should generate these instead, for example:
- start at
hsl(val, 100%, 50%)
- add 113 to val mod 360 to generate next color
Since 113 and 360 are relatively prime, this should provide 360 hues that are well separated.
I propose 113 because it is a prime close to 180 divided by the golden ratio.
Currently,
GUI.COLORS.randis a random selection of named colors. Should generate these instead, for example:hsl(val, 100%, 50%)Since 113 and 360 are relatively prime, this should provide 360 hues that are well separated.
I propose 113 because it is a prime close to 180 divided by the golden ratio.