|
Tweeny 4.1.0
A Tweening library for modern C++
|
◆ quarticOut
Quartic polynomial easing (t⁴) with strong deceleration. The quarticOut easing function provides pronounced deceleration that's popular for animations needing clear emphasis without being as extreme as exponential. Characteristics:
This easing excels at:
QuarticOut provides more "oomph" than cubic while remaining smooth and professional. It's a good choice when cubic feels too subtle. Mathematically: f(t) = 1 - (1-t)⁴ // Card sliding into place with emphasis
auto y = tweeny::from(200.0f)
.to(0.0f)
.during(40U)
.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::quarticOutEasing quarticOut Quartic polynomial easing (t⁴) with strong deceleration. Definition easing.h:1146 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
|