Skip to content

anim-format (runtime format) / maskPose

Function: maskPose() ​

ts
function maskPose(
   p, 
   now, 
   centre, 
   x
): BlurPose;

A sampled pose with the parts the blur leaves out (AnimMotionBlur.x) taken from now: moving is how centre (the art's middle, local space) travels, rotating / scaling happen about it.

Parameters ​

ParameterType
pBlurPose
nowBlurPose
centre[number, number]
xstring | undefined

Returns ​

BlurPose

HereSplash — 2D animation for the web