@motion-script/core / NoiseFillProp
Interface: NoiseFillProp
Defined in: attributes/shape/fill/implementations/noise.ts:18
Sparse per-pixel speckle — dust, static, stipple.
A source, painted inside the shape's own path: unlike Effects.grain, which
modulates whatever has already been drawn (including children and, in backdrop
mode, what lies beneath), this simply stacks as another fill layer. Reach for
the effect to grain a composite; reach for this to texture one shape.
For a continuous noise field rather than speckle — cloud, marble, smoke — see FractalNoiseFillProp.
Properties
blend?
optionalblend?:"color"|"multiply"|"screen"|"overlay"|"darken"|"lighten"|"color-dodge"|"color-burn"|"hard-light"|"soft-light"|"difference"|"exclusion"|"hue"|"saturation"|"luminosity"|"normal"
Defined in: attributes/shape/fill/implementations/noise.ts:29
color?
optionalcolor?:Color
Defined in: attributes/shape/fill/implementations/noise.ts:22
density?
optionaldensity?:number
Defined in: attributes/shape/fill/implementations/noise.ts:21
opacity?
optionalopacity?:number
Defined in: attributes/shape/fill/implementations/noise.ts:28
seed?
optionalseed?:number
Defined in: attributes/shape/fill/implementations/noise.ts:27
Random field offset. Tween it to make the speckle crawl — without this the field is fixed, and animated static could only be had from the grain effect.
size?
optionalsize?:Vector2
Defined in: attributes/shape/fill/implementations/noise.ts:20
type
type:
"noise"
Defined in: attributes/shape/fill/implementations/noise.ts:19