@pbroom/color-kit/planeTracing
PlaneGamutSolver
Strategy a gamut-region query used, picked from the plane's model, axes and gamut:
import type { PlaneGamutSolver } from '@pbroom/color-kit/plane';types.ts:44type PlaneGamutSolver =
| 'domain-edge'
| 'analytic-lc'
| 'analytic-hc'
| 'analytic-hct'
| 'implicit-contour';'domain-edge': the gamut is the model's own channel box (rgb,hsl,hsv, ordisplay-p3against the P3 gamut), so the boundary is the domain edge.'analytic-lc': OKLCH lightness × chroma plane, traced from the max-chroma curve.'analytic-hc': OKLCH hue × chroma plane.'analytic-hct': HCT hue or tone × chroma plane against sRGB.'implicit-contour': any other plane; the gamut is sampled as a scalar field and contoured with adaptive marching squares.
Also exported from
@pbroom/color-kitthe same declaration, re-exported