jQuery动画,不流畅 [英] jQuery animate, not smooth
本文介绍了jQuery动画,不流畅的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您有个想法,动画猫如何运动得更顺畅?
do you have an idea, how the animated cats could move smoother?
口吃,我不知道如何将其设置得更平滑. jQuery.fx.interval没有帮助
It's stuttering and I don't know how to set it smoother. jQuery.fx.interval isn't helping
http://christianhaller.com/jquery-animate-img.html
thx, 基督徒
推荐答案
结结现象似乎是由于缓动所致,因为您移动图像的量很小,并且很小的变化是显而易见的.只需将动画的easing
参数设置为linear
.
The stuttering appears to be because of the easing, since you are moving the image a very small amount and small changes are obvious. Just set the easing
parameter of the animation to linear
.
这篇关于jQuery动画,不流畅的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文