MotionScript

@motion-script/core


@motion-script/core / PixelateOptions

Interface: PixelateOptions

Defined in: attributes/shape/effects/chain.ts:62

After Effects-style Mosaic. Scalar shorthand sets blocks on both axes.

blocks is the number of blocks across the node, so a count equal to the node's pixel size on that axis is pristine and lower counts are coarser.

Extends

Properties

blocks

blocks: number | Vector2

Defined in: attributes/shape/effects/chain.ts:64

Block count — a number for both axes, or per-axis via { x, y }.


mode?

optional mode?: EffectMode

Defined in: attributes/shape/effects/effect-data.ts:83

Inherited from

EffectOptions.mode


sharpColors?

optional sharpColors?: boolean

Defined in: attributes/shape/effects/chain.ts:66

AE "Sharp Colors": solid blocks (true, the default) vs. smoothly blended.