It still seems that he is not fluent , but volatile. For instance. if you have one state attribute with font size: 14 and want to animate the state with font size: 16, the transition does not look smooth.
He jumps in 2 steps. First change the value to 15, and then to 16 pixels.
Is it possible to make it look more smooth?
I am using Firefox 14 for testing.
My current code is:
var fillerText = { "fill" : "#00738f", "font-size": 14, "font-family": "Arial, Helvetica, sans-serif" } var fillerTextHover = { "fill" : "#00738f", "font-size": 16, "font-family": "Arial, Helvetica, sans-serif", "cursor": "pointer" } text.hover(function () { text.animate(fillerTextHover, 500); }, function () { text.animate(fillerText, 500); } );
source share