p5.tween icon indicating copy to clipboard operation
p5.tween copied to clipboard

Adding predefined animations

Open Milchreis opened this issue 5 years ago • 0 comments

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)

Milchreis avatar Oct 13 '20 20:10 Milchreis