Instead of defining the total number of vtks generated we can define the time span that is linked with the animation FPS required.