Arkadii Ivanov
06/12/2023, 9:15 AMOffset
in a similar way to keyframes
, but with smooth curvy lines between points instead of straight lines?romainguy
06/12/2023, 11:58 AMPiotr Prus
07/20/2023, 8:59 PMDoris Liu
07/20/2023, 9:05 PMkeyframes
that also does curve fitting based on the given points should be feasible.romainguy
07/20/2023, 9:06 PMOffset
Piotr Prus
07/20/2023, 9:09 PMTargetBasedAnimation
to know exact position of animated object in canvas.
val animationConfig: TargetBasedAnimation<DpOffset, AnimationVector2D>
get() = TargetBasedAnimation(
animationSpec = tween(durationMillis = lifespan, easing = easing),
typeConverter = DpOffset.VectorConverter,
initialValue = startPoint,
targetValue = endPoint
)
How can I change that or use keyframes
to have a Bezier curve path for my object from initialValue to targetValue?Arkadii Ivanov
07/20/2023, 10:22 PMromainguy
07/20/2023, 10:23 PMromainguy
07/20/2023, 10:24 PMArkadii Ivanov
07/20/2023, 10:26 PMromainguy
07/20/2023, 10:48 PMromainguy
07/20/2023, 10:48 PMDoris Liu
07/21/2023, 12:19 AMDoris Liu
07/21/2023, 12:20 AMhoford
07/21/2023, 1:58 AMArkadii Ivanov
07/21/2023, 2:51 PM