在圆路径的动画圈子 [英] Animate circles on circular path

查看:89
本文介绍了在圆路径的动画圈子的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在屏幕中央有一个对象(图像)。现在我想对这个对象的一些圈子进行动画。什么是最好的想法来实现这个任务?我应该使用任何专用的 JS 动画库吗?

I have an object (image) in the center of the screen. Now I want to animate some circles around this object. What is the best idea to realize that task? Should I use any dedicated JS library for animation?

>

推荐答案

CSS将给予平滑看这个

CSS will give smoothness take a look at this

链接

最好使用CSS3而不是JavaScript,因为生成的动画总是保证更流畅(特别是在移动设备上),并且可以节省电池电量。

It is better to use CSS3 instead of JavaScript because the resultant animation is always guaranteed to be smoother (especially on mobile devices) plus it can save on battery power.

这篇关于在圆路径的动画圈子的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆