blurPath.linear

A straight streak along an angle prop, in degrees (0 points right, 90 points down).

blurPath.linear(angle: PropRef): BlurPathSpec

Import effects from shaders/std and use effects.blurs.blurPath.linear.

Parameters

NameTypeNotes
anglePropRef

Example

effect: motionBlur({path: blurPath.linear(p('angle')), amount: p('intensity')})

See also

  • motionBlur — Smears the child along a path: a straight streak, an arc around a point, or a zoom out of a point.

Used by

LinearBlur