Type Alias: CurvatureSmoothnessScale
ts
type CurvatureSmoothnessScale = "data" | "spread";Defined in: layers/CurvatureLayer.ts:14
What smoothness is measured in:
'data'(default): the curvature's own units. The ramp saturates at |curvature| = smoothness / 2, so the right value depends on how the input was normalised (0.2 makes a [-0.5, 0.5] metric nearly two-tone).'spread': multiples of the data's robust range, ±(98th percentile of |curvature|).smoothness: 1spans the full grey ramp across that range whatever the metric's units or normalisation; smaller values steepen it.