Add easing functions to particles values animations
Author: matteobruniCreated May 17, 2023Updated Feb 18, 2025
Labelsdocumentationenhancementhelp wantedgood first issueup-for-grabspluginfeature_requestpinned
The size, opacity and maybe other animation options could benefit an easing option, to change the animation speed accordingly to the given easing function.
This could create an effect where the opacity starts fading slow accelerating in the end, the same could be for size or other animations.
-
engine/src/Utils/EasingFunctions.ts✅ Commitad52bfc -
engine/src/Options/Interfaces/Particles/Size/ISizeAnimation.ts✅ Commit122a704 -
engine/src/Options/Interfaces/Particles/Opacity/IOpacityAnimation.ts✅ Commit452ec04 -
engine/src/Updaters/SizeUpdater.ts✅ Commit99b1544 -
engine/src/Updaters/OpacityUpdater.ts✅ Commitfc5208a -
markdown/Options/Particles/Size.md✅ Commitaeceee4 -
markdown/Options/Particles/Opacity.md✅ Commit7f50afb
Source: tsparticles/tsparticles