Skip to content

Interface: StrokePlan

Defined in: dabs.ts:67

Every stage of the pipeline, kept. The Lab renders these on top of each other; the tests assert on them individually; the renderer only wants .dabs.

Properties

cusps

cusps: boolean[]

Defined in: dabs.ts:72

Per-point: is this a corner the spline must NOT smooth through?


dabs

dabs: Dab[]

Defined in: dabs.ts:79


densified

densified: PenSample[]

Defined in: dabs.ts:74

After centripetal Catmull-Rom, broken at the cusps.


filtered

filtered: PenSample[]

Defined in: dabs.ts:70

After the One-Euro causal low-pass.


raw

raw: PenSample[]

Defined in: dabs.ts:68


spaced

spaced: PenSample[]

Defined in: dabs.ts:76

After arc-length resampling to the dab grid.


speeds

speeds: number[]

Defined in: dabs.ts:78

Speed at each spaced sample, px/ms — kept because it is invisible otherwise.