Click the "play" icon to see how your animation looks. If it's "wiggling" too fast, change to interval to 0.2 or 0.3.
点击“播放”图标来看你的动画,如果抖动得太厉害的话就把间隔改为0.2或0.3。
Listing 6 USES the Ambient Orb Ant task and a Ruby script to change the color and animation of an Orb if 20 or more classes exceed 300 Source Lines of Code (SLOC).
清单6使用了Ambient Or b Ant任务和ruby脚本,在20个以上的类超过300个源代码行(SLOC)时,就改变orb的颜色和动画。
In this case, I chose to change the color of the orb to magenta and the animation to crescendo if the classes meet this condition.
在这个示例中,我选择在类满足条件时将or b的颜色改成magenta,将动画改成crescendo。
应用推荐