Answer the question
In order to leave comments, you need to log in
How to make dotted line drawing animation in svg?
How to make dotted line drawing animation in svg?
I'm trying to use animejs, but it turns the dotted line into a regular one
Code:
anime({
targets: 'svg .line',
strokeDashoffset: [anime.setDashoffset, 0],
easing: 'easeInOutSine',
duration: 1500,
});
stroke-dasharray: 3;
so that there is a dotted line, and then I start the same animation, the strip just moves (like a running line), and is not drawn. (
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question