-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Broken distinguishable_colors #16
Comments
Oh, would we maybe have some space for fixed color palettes like these? |
The difference between the old and new is that it performs the computations in LCHab space in the new one; it constantly converts between RGB and LCHab in the old one. There could, of course, be a bug; you could |
I'd be fine with having some fixed palettes. There's a ColorBrewer package already, interestingly. Not really my expertise, so others should chime in. |
Correct me if I'm wrong, but increasing the desired number of colors just adds new colors to the palette and doesn't change the already obtained. I wonder if it possible to obtain the really maximally distinguishable colors this way. Shouldn't I have to move all colors when adding a new one? The simple picture in my head is that of a circle. When choosing n points with maximal distance I divide it into equally large sectors, but this requires changing multiple points when increasing n. |
Correct. This package produces the nth distinguishable color as the one "farthest" from the first n-1. It does not reconsider the first n-1 in light of the chosen value for the nth. Another algorithm would, of course, make a fine contribution. Would be interesting to compare performance. |
When allowing for high luminances it produces undistinguishable colors :(
In comparison the behaviour from the old Color.jl package.
Happens with both, Colors release and master.
The text was updated successfully, but these errors were encountered: