Init animation generator.