@motion-script/core / EdgeKernel
Type Alias: EdgeKernel
EdgeKernel =
"sobel"|"prewitt"|"laplacian"
Defined in: attributes/shape/effects/implementations/edges.ts:14
Which convolution kernel detects the edges.
"sobel"— gradient magnitude with a centre-weighted 3×3 pair. The default: thick, smooth, noise-tolerant edges."prewitt"— the same gradient pair without the centre weighting. Slightly thinner and more literal, noisier on gradients."laplacian"— second derivative in one pass. Finest lines, picks up texture the gradient operators smooth over.