|
Tweeny 4.1.0
A Tweening library for modern C++
|
◆ circularOut
Circular easing based on quarter-circle arc for smooth deceleration. The circularOut easing function decelerates following a circular curve, creating smooth, natural-looking motion that settles gently to rest. Popular for UI animations requiring moderate deceleration without dramatic emphasis. Characteristics:
This easing excels at:
CircularOut works well in most contexts. It's less dramatic than cubic but with smoother deceleration than quadratic. // Menu panel sliding in
auto x = tweeny::from(-300.0f)
.to(0.0f)
.during(35U)
.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::circularOutEasing circularOut Circular easing based on quarter-circle arc for smooth deceleration. Definition easing.h:377 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
|