p5.tween
p5.tween copied to clipboard
Tween library for P5.js
Each motion should have an option for a starting delay in milliseconds. Moreover start and startLoop should have this option, too. startLoop could have an option for a delay between...
The following code is not working, because the access for nested objects is not supported. ```js const myShape = { pos: { x: 100, y: 100 } } p5.tween.manager.addTween(myShape).addMotion('pos.x', 10,...
The bouncing ball tween could be a predefined tween. In that way the user could use the animation in one line, f.e.: ```js p5.tween.manager .addPredefinedTween(object) .bouncingUpDown(downInPixel, stretchFactor, speed) ```