Gamut mapping compression curves

Hi @jedsmith,

It turned out to be straightforward to solve the “Power( p )” function for the y=1 intersection.

I’ve implemented the functionality here:
https://www.desmos.com/calculator/zifabox6lr
You can tweak the threshold (t), the point that the graph must pass through (x0,y0), and the power ( p ).

I couldn’t see a simple means of solving for the tanh and arctan functions.

2 Likes