@motion-script/core / EdgesEffect
Interface: EdgesEffect
Defined in: attributes/shape/effects/implementations/edges.ts:20
Edge detection — replaces the content with the magnitude of its own gradient, so flat areas go black and boundaries light up.
Extends
Properties
colored
colored:
boolean
Defined in: attributes/shape/effects/implementations/edges.ts:27
Run the kernel per RGB channel (colour fringes) instead of on luminance.
kernel
kernel:
EdgeKernel
Defined in: attributes/shape/effects/implementations/edges.ts:25
Which operator measures the gradient.
mode?
optionalmode?:EffectMode
Defined in: attributes/shape/effects/effect-data.ts:83
Inherited from
strength
strength:
number
Defined in: attributes/shape/effects/implementations/edges.ts:23
Multiplier on the detected magnitude. 0 = off (black), 1 = as measured.
type
type:
"edges"
Defined in: attributes/shape/effects/implementations/edges.ts:21