/dn-AniPP

Animation++

Primary LanguagePHPThe UnlicenseUnlicense

dn-AniPP

Animation++ for DevelNext.


Api-docs: English/Русский


Why is it better than Animation?

  1. Animating a specific object value.
  2. Synchronization with time.

  1. 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.
  2. 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