MotionScript

@motion-script/core


@motion-script/core / BitCrushPalette

Type Alias: BitCrushPalette

BitCrushPalette = "none" | "gameboy" | "cga" | "nes"

Defined in: attributes/shape/effects/implementations/bit-crush.ts:12

A fixed hardware palette to snap colours to.

  • 'none' — no palette; quantize each channel to bits instead.
  • 'gameboy' — the DMG's four greens.
  • 'cga' — IBM CGA palette 1 high-intensity (black, cyan, magenta, white).
  • 'nes' — a representative 16-colour cut of the NES master palette.