Dan Burzo
Dan Burzo
The implementation looks good to me. Maybe `a` and `b` can be halved in the notebook so the a/b plot doesn't look as clipped? I found these approximate ranges for...
Oops, sorry — I was a bit cryptic. I meant halving the interval for `a` and `b` on the a/b plot in the notebook, not a change in the implementation....
I could make a PR to add support for Jzazbz. One thing that nags me is that the color space operates CIE XYZ absolute values, and I'm not sure how...
@DCtheTall not at all! I have not had the chance to put together the PR, so I'm happy to pass the baton. I have [an initial implementation here](https://github.com/Evercoder/culori/tree/master/src/jab), if it...
I think extracting XYZ D50 as its own color space is a useful addition to the API. However, one thing I'm not sure about, is which XYZ space should `d3.xyz`...
I can give binary search a shot. Can you let me know the top-level API you have in mind for this? (For visual reference, here's a video of how the...
I wrote an Observable notebook to explore the difference between RGB clamping and Chroma clamping: https://beta.observablehq.com/@danburzo/hcl-chroma-clamping-vs-rgb-clamping Chroma clamping looks like the 'correct' solution to me, because it does not alter...
@curran, oops :) Missed that, thanks! Updated the link in the original comment. ~~(Mind some experiments I'm currently doing with proportional R,G,B clamping)~~
I've updated [the notebook](https://beta.observablehq.com/@danburzo/hcl-chroma-clamping-vs-rgb-clamping) to reflect the chroma clamping through the bisection method in comparison with the linear method. It converges to a solution in 13–14 iterations for Δ =...
Also added some color ramps to the notebook, and hue-chroma discs [in a fork](https://beta.observablehq.com/@danburzo/chroma-vs-rgb-clamping-for-the-cielch-color-space).