title: How to start another animation on end of one animation in velocityjs
body: <p>i am trying to animate the image using velocityjs. here i am trying to get the sparkling effect for one of the image.the image first scales up and then it turns opacity to zero.</p>
  
  <p>Here i am calling the <code>anim1</code> first and then after the <code>anim1</code> i want to call <code>anim2</code> how can i do that?</p>
  
  <pre><code>        var anim1 = function(){
              $(".sparkle1").velocity({ 
                opacity: 1,
                scale: [1,0],
              }, 300);
          }  
  
          var anim2 = function(){
              $(".sparkle1").velocity({ 
                opacity: 0,
              }, 200);
          }
  </code></pre>