Skip to content

Interface: DensifyConfig

Defined in: spline.ts:92

Properties

maxStep

maxStep: number

Defined in: spline.ts:100

The longest straight step (px) the densified polyline may take. Smaller means a more faithful curve and more points. ~2px is well under what the eye resolves at typical scale, and the arc-length resampler downstream is going to re-space everything anyway — this only has to be fine enough that the shape is right.


maxSubdivisions?

optional maxSubdivisions?: number

Defined in: spline.ts:102

Hard ceiling on subdivisions per segment; a runaway guard, not a knob.