MaxHctChromaForHueOptions
Options for maxHctChromaForHue and maxHctPeakToneForHue.
import type { MaxHctChromaForHueOptions } from '@pbroom/color-kit/hct';index.ts:26interface MaxHctChromaForHueOptions {
method?: MaxHctChromaForHueMethod;
lutSize?: number;
}Properties
- method?
MaxHctChromaForHueMethoddefault'lut' lutuses a cached hue lookup table for maximum throughput across repeated calls.directperforms a per-call tone search + local refinement.- lutSize?
numberdefault4096 - Number of evenly spaced hue samples in the cached LUT. Higher values increase warm-up cost and reduce interpolation error. Values below 16 or non-finite use the default.
Also exported from
@pbroom/color-kitthe same declaration, re-exported