MotionScript

@motion-script/core


@motion-script/core / PosterizeTimeFilter

Interface: PosterizeTimeFilter

Defined in: attributes/shape/filters/implementations/posterize-time.ts:11

Resamples a video fill to a lower frame rate, holding each source frame for a 1 / fps interval — the "stop-motion" / stutter look (After Effects' Posterize Time). Purely temporal: it changes which source timestamp is shown, not the pixels, so it is consumed in the video fill's per-frame update() (it never reaches the pixel-filter / setImageFilter path). No-op on image fills.

Properties

fps

fps: number

Defined in: attributes/shape/filters/implementations/posterize-time.ts:14

Target frame rate the source playhead snaps to, in frames per second.


type

type: "posterizeTime"

Defined in: attributes/shape/filters/implementations/posterize-time.ts:12