complex_colormap
complex_colormap copied to clipboard
Complex sine example
I really like the uniformity with const, but it doesn't handle amplitude modulation well. Comparison vs CEC_C1, which I think handles it better with appropriately chosen alpha, below.
My current heuristic is alpha = abs(x)**(2/3), though effectiveness varies with phase - higher frequencies are handled better since more "alpha-resistant" colors occupy greater portion of image.
Here's an approach (comparison included) that I think handles amplitude pretty well, though not so much phase. Python version