computeCatMatrix
computeCatMatrix(
from,to,method?):Mat3x3
Defined in: packages/math-color/src/conversions/xyz-transform.ts:36
Computes a 3×3 chromatic adaptation transform (CAT) matrix from one white point to another using the specified cone-response method (default: Bradford).
The resulting matrix can be applied directly to XYZ values to adapt them from
the from white point to the to white point.
Parameters
Section titled “Parameters”method?
Section titled “method?”CatMethod = "Bradford"
Returns
Section titled “Returns”Mat3x3