How to draw a fill svg?

前端 未结 3 800
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-16 08:02

I want to animate my logo like drawing it for reveal it, it is looking like that:

is it possible to draw only with a fill? every tutorials i looked showed

3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-16 08:42

    The short answer is no. There is no easy way to have the "drawn line" effect for an arbitrary filled shape. You could use a mask of a linear fill to "fill" it from top to bottom, or bottom to top. But that obviously would follow the shape of the line around the loop etc.

    You are pretty much stuck with using the traditional animation technique: draw a sequence of frames and show them one after the other.

提交回复
热议问题