MotionScript

@motion-script/core


@motion-script/core / ScanlinesOptions

Interface: ScanlinesOptions

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

CRT scanlines. Scalar shorthand sets darkness.

Extends

Properties

angle?

optional angle?: number

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

Band angle in degrees; 0 = horizontal (default 0).


darkness?

optional darkness?: number

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

0–1 how far the bands darken (default 0.5).


mode?

optional mode?: EffectMode

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

Inherited from

EffectOptions.mode


offset?

optional offset?: number

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

Band offset in px — animate to roll the pattern (default 0).


spacing?

optional spacing?: number

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

Distance between band centres in px (default 4).


thickness?

optional thickness?: number

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

0–1 share of each period the dark band covers (default 0.5).