Adding predefined animations
Opened this issue · 0 comments
Milchreis commented
The bouncing ball tween could be a predefined tween. In that way the user could use the animation in one line, f.e.:
p5.tween.manager
.addPredefinedTween(object)
.bouncingUpDown(downInPixel, stretchFactor, speed)