Closed MonsieurLanza closed 3 years ago
I'd really like to have an effective way of sorting palettes in a pleasing way.. I'm not sure how complex it would be to have an algorithm that can do that (and perhaps permute between various orderings). I think sorting by hue alone doesn't work, and neither does sorting by luminance. They have to somehow be combined for best results.. I'm going to close this because it's been inactive for a while, but curious if you come up with more sophisticated algorithms.
This is just an experiment, un-optimized attempt to sort palette by hue rather than luminosity.
Below is the result of a
p/sort
command on the default palette :