Refix issue #256.[ci skip]
Add animation speed parameter.