F
F
friktor2014-05-06 15:21:42
Animation
friktor, 2014-05-06 15:21:42

How to animate path in svg.js?

When creating animated elements, there was a problem with the location during animation, by location I do not mean the move method, but what is enclosed in the path.
The essence of the application is a certain line that I set through the path, and so when animating, I want the coordinates to change smoothly. the lamer's first thought was to simply do something like

var rect = draw.path('данные фигуры изначально')
rect.animate().path('анимация для изменения формы');

But as expected - it did not work, initially I tried to make a line that, after replacing the coordinates, was false to animate, how can this be implemented?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question