Skip to content
color-kitnext
StartAPI
color-kit on GitHub
Start

Concepts

  • OKLCH-canonical
  • Requested vs displayed
  • Planes and queries
  • Gamut and tolerance
  • Contrast

Guides

  • Headless picker
  • React
  • Contrast-aware palettes
  • GPU and three.js
  • Performance

API

  • Overview
  • @pbroom/color-kit
  • @pbroom/color-kit/plane
      • TtypePlaneGamutRegionScope
      • TtypePlaneContrastSolver
      • TtypePlaneGamutSolver
      • IinterfacePlaneQueryTrace
      • IinterfacePlaneQueryTraceCellEvent
      • TtypePlaneQueryTraceLevel
      • IinterfacePlaneQueryTraceMarchingSquaresStage
      • IinterfacePlaneQueryTraceMetricsStage
      • IinterfacePlaneQueryTraceOptions
      • IinterfacePlaneQueryTracePathStage
      • IinterfacePlaneQueryTraceScalarGridStage
      • IinterfacePlaneQueryTraceSolverStage
      • TtypePlaneQueryTraceStage
      • IinterfacePlaneQueryTraceSummary
      • IinterfacePlaneQueryTraceViewportStage
      • IinterfacePlaneTraceBounds
      • TtypePlaneViewportRelation
  • @pbroom/color-kit/interop
  • @pbroom/color-kit/compute
  • @pbroom/color-kit/hct
  • @pbroom/color-kit/driver
  • @pbroom/color-kit/react
Map

@pbroom/color-kit/plane/Tracing

PlaneQueryTraceLevel

Detail captured by a query trace: 'summary' fills only PlaneQueryTraceSummary; 'stages' adds per-stage records with truncated paths; 'full' also adds marching-squares cell events and the sampled scalar grid.

typeimport type { PlaneQueryTraceLevel } from '@pbroom/color-kit/plane';types.ts:70
type PlaneQueryTraceLevel = 'summary' | 'stages' | 'full';

Also exported from

  • @pbroom/color-kitthe same declaration, re-exported

Your display: detecting

MIT licensedSource