@motion-script/core / ScanlinesOptions
Interface: ScanlinesOptions
Defined in: attributes/shape/effects/chain.ts:310
CRT scanlines. Scalar shorthand sets darkness.
Extends
Properties
angle?
optionalangle?:number
Defined in: attributes/shape/effects/chain.ts:320
Band angle in degrees; 0 = horizontal (default 0).
darkness?
optionaldarkness?:number
Defined in: attributes/shape/effects/chain.ts:312
0–1 how far the bands darken (default 0.5).
mode?
optionalmode?:EffectMode
Defined in: attributes/shape/effects/effect-data.ts:83
Inherited from
EffectOptions.mode
offset?
optionaloffset?:number
Defined in: attributes/shape/effects/chain.ts:318
Band offset in px — animate to roll the pattern (default 0).
spacing?
optionalspacing?:number
Defined in: attributes/shape/effects/chain.ts:314
Distance between band centres in px (default 4).
thickness?
optionalthickness?:number
Defined in: attributes/shape/effects/chain.ts:316
0–1 share of each period the dark band covers (default 0.5).