【发布时间】:2017-03-04 10:56:57
【问题描述】:
我的问题很简单:是否可以使用 SVG 滤镜重现 this effect(圆形失真动画)?
我认为将 FeTurbulences 与 FeDisplacementMap 一起使用会很有趣,因为它适用于 static way。但实际上,我不知道应该对哪个属性进行补间以使动画好看。
<feTurbulence type="fractalNoise" baseFrequency="0.01" numOctaves="2" result="warp" seed="0" stichTitles="stitch"></feTurbulence>
<feDisplacementMap xChannelSelector="R" yChannelSelector="G" scale="30" in="SourceGraphic" in2="warp" />
如果您有其他解决方案(js 库、过滤器等):请不要犹豫。我对所有解决方案都持开放态度;)
感谢您的考虑。
【问题讨论】:
标签: javascript animation svg svg-filters distortion