A jupyter notebook to see how good your colormaps are.
The Buddhabrot generation code comes from https://loiseaujc.github.io/Scientific_Computing_on_a_Laptop/Maths/Mandelbrot/buddhabrot.html. The default samples are 10^7, but you may want to pull that down if it takes too long.
The test cases come from http://inversed.ru/Blog_2.htm.
- Sine Ramp: Linear ramp in y with sine wiggle intensity increasing in x.
- Z ordering: Interleaved squares. You should see 3 levels of subdivision
- XOR: Interleaved squares. You should see 4-5 levels of subdivision
- Sprial: Interleaved spirals. The thickness of the two spirals should be the same and the transition to from min to max should be smooth
- Sine product: Smooth transitions between extrema
- Fractal: Should be able to resolve fine features, and should be symmetric