Stretch
Stretch content towards a direction from a center point
Props
center
The center point of the stretch effect
- Type
- {x: number, y: number}
- Default
- {"x":0.5,"y":0.5}
strength
The intensity of the stretch effect
- Type
- number
- Default
- 1
angle
The direction of the stretch in degrees
- Type
- number
- Default
- 0
falloff
Controls the sharpness of the transition (0 = sharp edge, 1 = gradual transition)
- Type
- number
- Default
- 0
edges
How to handle edges when distortion pushes content out of bounds
- Type
- "stretch" | "transparent" | "mirror" | "wrap"
- Default
- stretch