MotionScript

@motion-script/core


@motion-script/core / BitCrushOptions

Interface: BitCrushOptions

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

Colour-depth reduction. Scalar shorthand sets bits.

Extends

Properties

amount?

optional amount?: number

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

0–1 blend between original and crushed (default 1).


bits?

optional bits?: number

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

Bits per channel when palette is 'none', 1–8 (default 3).


mode?

optional mode?: EffectMode

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

Inherited from

EffectOptions.mode


palette?

optional palette?: BitCrushPalette

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

Fixed hardware palette to snap to (default 'none').