Animation++ for DevelNext.
Why is it better than Animation?
- Animating a specific object value.
- Synchronization with time.
- Curves: Linear (bundle\anipp\Curves\Curve), EaseBack, EaseBackIn, EaseBackOut, EaseBounce, EaseBounceIn, EaseBounceOut, EaseCirc, EaseCircIn, EaseCircOut, EaseCubic, EaseCubicIn, EaseCubicOut, EaseCurve, EaseCurveIn, EaseCurveOut, EaseElastic, EaseElasticIn, EaseElasticOut, EaseExpo, EaseExpoIn, EaseExpoOut, EaseQuart, EaseQuartIn, EaseQuartOut, EaseQuint, EaseQuintIn, EaseQuintOut, EaseSine, EaseSineIn, EaseSineOut, SqrtCurve, SqrtCurveIn & SqrtCurveOut.
- Custom animations.
Example:
use bundle\anipp\AniPP;
use bundle\anipp\Curves\EaseCurve;
AniPP::smoothlySetValues($this->button, 100, ["opacity"=>0,"rotate"=>360], function (){
echo "Ready!\n";
}, EaseCurve);
Project example: https://hub.develnext.org/project/xSNaEnQSMvdy