Skip to content

BulgePinchOptions

Defined in: effects/src/bulgePinch.ts:7

Options for the bulgePinch preset.

optional center?: object

Defined in: effects/src/bulgePinch.ts:16

Center as normalized screen coords (0..1) — { x: 0.5, y: 0.5 } is the middle of the host. Default: { x: 0.5, y: 0.5 }.

x: number

y: number


optional radius?: number

Defined in: effects/src/bulgePinch.ts:11

Distortion radius in pixels. Default: 100.


optional strength?: number

Defined in: effects/src/bulgePinch.ts:9

Distortion strength: -1 strong pinch, 0 none, +1 strong bulge. Drives getIntensity. Default: 1.