Dither Field Bg
Vista previa de Dither Field Bg
Efecto

Dither Field Bg

@remotionui/dither-field-bg

De RemotionUI

Two-colour ordered-dither field quantised to a pixel grid

Instalación

npx remotion-ui@latest add dither-field-bg

Props (7)

  • backgroundColorstring= "#070605"

    The unlit half of the two-tone field.

  • inkColorstring= "#e4ac59"

    The lit half. The field only ever holds these two colors.

  • shape"simplex" | "warp" | "dots" | "wave" | "ripple" | "swirl" | "sphere"= "warp"

    Pattern the dither is sampled from before the grid quantises it. simplex, warp, dots and wave fill the frame; ripple, swirl and sphere are bounded shapes.

  • pattern"random" | "2x2" | "4x4" | "8x8"= "4x4"

    Threshold matrix. Bayer sizes are ordered; random reads as film grain.

  • pixelSizenumber= 2

    Size of one dither cell in pixels, 0.5–20. Larger reads more retro.

  • scalenumber= 1

    Zoom on the underlying pattern, 0.01–4. Below 1 a bounded shape stops covering the frame.

  • speednumber= 1

    Multiplies how far the field travels per second.

Depende de

Paquetes npm

Categorías