OptionalcreateOptionalparseApplied to every parse unless overridden per-call.
OptionalrendererOptionaladjacentLayers?: number2D only: preceding "ghost" layers drawn beneath the active one (default 1, floor 0).
OptionalbuildVolume?: BuildVolumeDefOptionalcameraMode?: CameraModeCamera projection (#150, DD-009 D3); default 'perspective'. 3D only.
OptionalchunksPerTick?: numberOptionalcolorMode?: ColorModeOptionalcreateRenderer?: (canvas: RenderTargetCanvas) => GLRendererLikeAdvanced/test injectables — pass-throughs of the renderer's own contract (3D only).
OptionalframeContent?: "object" | "all"Framing target (#306/#6): 'all' extrusion (default) or the printed 'object'. 3D only.
OptionalgeometryConcurrency?: number | "off" | "auto"Parallel tube-geometry build (DD-028). Default 'auto' (engages a capability+memory-aware pool
for large tube builds in a browser); 'off' forces the synchronous path. 3D only.
OptionalgeometryMemoryBudgetBytes?: numberMax in-flight tube-geometry bytes for the parallel build (DD-028 memory backpressure). 3D only.
OptionalghostOpacity?: number2D only: ghost-layer opacity (default 0.25).
OptionalinteractionQuality?: "off" | "auto"Interaction-aware quality (#306/2, DD-020): 'auto' reduces detail while moving. 3D only.
Optionalmode?: RendererModeRenderer implementation (DD-014 D5): '3d' (default) is the Three.js renderer; '2d' is the
low-resource Canvas 2D layer view. The 3D renderer is loaded on demand, so a '2d' consumer's
bundle never pulls Three.js. 3D-only options below are ignored (and disclosed) in '2d'.
OptionalprogressivePreview?: ProgressivePreviewDuring-parse preview presentation (#60 curtain): 'lines' (default, stream the progressive line
preview), 'hold' (keep progress events but reveal only the final coloured build — a single clean
reveal), or 'off' (no progressive geometry or preview progress; drive your own loading treatment).
parse-progress events flow in every mode. 3D only.
Optionalquality?: "auto" | QualityModeOptionalqualityMode?: QualityPolicyFidelity policy (DD-023 §4 D6): 'full' (complete representation, no auto-decimation / no tubes→lines),
'adaptive' (default; capability-aware auto reduction, disclosed), 'fast' (flat lines). Distinct from
the geometry quality tier. 3D only.
OptionalscheduleFrame?: (cb: () => void) => voidOptionaltheme?: ThemeBounded declarative theme (#153, DD-009 D4). 3D only.
Optionaltube?: TubeOptions
Custom worker factory (DD-005 slim/custom entries). Default: the batteries worker.