admin管理员组文章数量:1313001
I want to create an animation of circles spread evenly on another circle and then rotate them about the center of this outer circle on loop. I have tried to do this by first placing them with transform-origin and rotate. This places them as I intended here
Then I tried to use anime js to animate them using a rotate transform, but adding this seems to override the previous rotate transforms and all circles start at the default position.
anime({
targets: '.circle',
rotate: '1turn',
easing: 'linear',
duration: 24000,
loop: true,
})
本文标签:
版权声明:本文标题:anime.js - How do I use animejs to create an animation of circles rotating around the center of another circle? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741896942a2403631.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论