MotionScript

@motion-script/core


@motion-script/core / ThresholdOptions

Interface: ThresholdOptions

Defined in: attributes/shape/effects/chain.ts:219

Two-tone luminance cut. Scalar shorthand sets level.

Extends

Properties

level?

optional level?: number

Defined in: attributes/shape/effects/chain.ts:221

0–1 cut point (default 0.5).


mode?

optional mode?: EffectMode

Defined in: attributes/shape/effects/effect-data.ts:83

Inherited from

EffectOptions.mode


smoothness?

optional smoothness?: number

Defined in: attributes/shape/effects/chain.ts:223

0–1 ramp width around the cut (default 0.05 — just enough to anti-alias).