blurPath

The three paths motionBlur can smear along.

blurPath: { linear, orbit, zoom }

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

Example

effect: motionBlur({path: blurPath.zoom(p('center')), amount: p('intensity')})

Members

  • blurPath.linear — A straight streak along an angle prop, in degrees (0 points right, 90 points down).
  • blurPath.orbit — An arc streak rotating around a center prop (a position in uv).
  • blurPath.zoom — A radial streak rushing outward from a center prop (a position in uv).

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

AngularBlur, LinearBlur, ZoomBlur