- bug fix : final value in
Color
,position
andpointPosition
animations should now always be accurate (hopefully no more floating-point errors)
- TS rewrite : TS declaration is available in dist/src/animatePaper.d.ts
- custom easings : you can now pass a
function
(p: number) => number
tosettings.easing
- bug fix : negative absolute position supported (relative values must be of string type)
- bug fix : allow 0 duration
- Color support for
paper.Group
animation - rgb, gray, hsl, hbs Color formats are now supported
- TypeScript declaration
paper
is now a peerDependency, this should remove unnecessary code from your dependency tree.- The
segmentGrow
property andgrow
effect have been removed (this feature was very buggy). - When using
rotate
orscale
properties, you can provide a new setting :center
(orrotateCenter
/scaleCenter
) (default isitem.position
). Animation
supports a new optionrepeat
(defaults to0
).settings.complete
callback takes theAnimation
object as 1st argument.