@motion-script/core / BlockDisplaceOptions
Interface: BlockDisplaceOptions
Defined in: attributes/shape/effects/chain.ts:324
Datamosh-style band tearing. Scalar shorthand sets amount.
Extends
Properties
amount?
optionalamount?:number
Defined in: attributes/shape/effects/chain.ts:326
Maximum displacement in px (default 20).
axis?
optionalaxis?:EffectAxis
Defined in: attributes/shape/effects/chain.ts:334
Which way bands slide (default 'x').
density?
optionaldensity?:number
Defined in: attributes/shape/effects/chain.ts:330
0–1 fraction of bands that move at all (default 0.3).
mode?
optionalmode?:EffectMode
Defined in: attributes/shape/effects/effect-data.ts:83
Inherited from
EffectOptions.mode
seed?
optionalseed?:number
Defined in: attributes/shape/effects/chain.ts:332
Random field offset — step it to jump between glitch states (default 0).
size?
optionalsize?:number
Defined in: attributes/shape/effects/chain.ts:328
Band thickness in px (default 16).