-
Hi, I want to make a ripple/pulse effect point animation, where point animation starts at 0 radius, grows to radius of 30 and in the same time opacity goes from 100% to 0%. Additionally, I don't want the animation to loop from 0 -> 100 and then back from 100 -> 0, but only from 0->100 and then directly to 0. How do I do this? This is something that I have currently but does not work. :-)
|
Beta Was this translation helpful? Give feedback.
Answered by
kurkle
Dec 16, 2022
Replies: 1 comment 1 reply
-
Its a shame the context is not passed to the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
lubeskih
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Its a shame the context is not passed to the
fn
, would make it cleaner. But it can be done with an external variable: https://codepen.io/kurkle/pen/VwBZPba