|
Tweeny 4.1.0
A Tweening library for modern C++
|
◆ quadraticOut
Quadratic polynomial easing (t²) with gentle deceleration. The quadraticOut easing function provides subtle, smooth deceleration. It's the gentlest polynomial easing, perfect when you want polish without drama. Characteristics:
This easing excels at:
QuadraticOut is great when you want animations to stay out of the way. It's less dramatic than cubic but smoother than linear due to gradual deceleration. Mathematically: f(t) = 1 - (1-t)² // Subtle tooltip appearance
auto opacity = tweeny::from(0.0f)
.to(1.0f)
.during(15U)
.build();
tweeny_builder< true, FirstValue, RemainingValues... > to(const FirstValue &firstComponent, const RemainingValues &... remainingComponents) & Adds a target keyframe to the tween. Definition tweeny.h:109 tweeny_builder & via(EasingFunctionTypes... easing_functions) Specifies per-component easing functions for the last keyframe segment. Definition tweeny.h:198 constexpr detail::quadraticOutEasing quadraticOut Quadratic polynomial easing (t²) with gentle deceleration. Definition easing.h:1033 tweeny_builder< false, FirstValue, RemainingValues... > from(FirstValue firstComponent, RemainingValues... remainingComponents) Creates a new tween builder starting from the specified value(s). Definition tweeny.h:347
|