Hey o/ I was trying to implement a slowly moving b...
# compose
d
Hey o/ I was trying to implement a slowly moving background for a project using compose. I started using the canvas, paths and bezier curves for that. With that approach I’m having trouble making the waves, well… wavy… Then a colleague suggested using animated vector resources. It works more or less… I can use it and animate between paths to achieve the waves… but… using the
animatedVectorResource
and the
AnimatedImageVector
’s
painterFor
, it seems that all I can control is the direction of the animation with
atEnd
. Is there a way to get more control over the animated vector animation? I’d like to be able to loop the animated vector’s animation infinitely. Ideally with multiple steps to the animation (to improve the waviness of my background)
m
Were you able to find an answer to this? I am also trying to achieve something similar like an endless animation
d
Nope, I gave up on this. Went with a canvas instead.