MotionScript

@motion-script/core


@motion-script/core / HalftoneEffect

Interface: HalftoneEffect

Defined in: attributes/shape/effects/implementations/halftone.ts:34

Halftone screen — the newsprint / comic-book look. The image is divided into a rotated grid of cells and each cell's tone becomes the size of a mark, so continuous shading is reproduced by varying dot area rather than intensity.

separation picks how many plates the image is split across — see HalftoneSeparation.

Extends

Properties

angle

angle: number

Defined in: attributes/shape/effects/implementations/halftone.ts:39

Screen rotation in degrees; 45° is the traditional dot angle.


mode?

optional mode?: EffectMode

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

Inherited from

ModedEffect.mode


separation

separation: HalftoneSeparation

Defined in: attributes/shape/effects/implementations/halftone.ts:43

How many plates to screen into.


shape

shape: HalftoneShape

Defined in: attributes/shape/effects/implementations/halftone.ts:41

Mark drawn in each cell.


size

size: number

Defined in: attributes/shape/effects/implementations/halftone.ts:37

Cell pitch in px — the distance between dot centres.


type

type: "halftone"

Defined in: attributes/shape/effects/implementations/halftone.ts:35