MotionScript

@motion-script/core


@motion-script/core / StreakEffect

Interface: StreakEffect

Defined in: attributes/shape/effects/implementations/streak.ts:11

Anamorphic glare — a bright pass smeared along one axis and screened back on.

Where bloom spreads light equally in all directions, this spreads it along angle only. That asymmetry is the entire anamorphic look: the horizontal flare a wide lens throws off a highlight, rather than a halo around it.

Extends

Properties

angle

angle: number

Defined in: attributes/shape/effects/implementations/streak.ts:20

Smear axis in degrees; 0 = horizontal.


intensity

intensity: number

Defined in: attributes/shape/effects/implementations/streak.ts:14

Additive multiplier for the streak pass. 0 = off.


length

length: number

Defined in: attributes/shape/effects/implementations/streak.ts:18

Smear length in px along angle.


mode?

optional mode?: EffectMode

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

Inherited from

ModedEffect.mode


threshold

threshold: number

Defined in: attributes/shape/effects/implementations/streak.ts:16

0–1 luminance cutoff — only pixels brighter than this streak.


type

type: "streak"

Defined in: attributes/shape/effects/implementations/streak.ts:12