CustomEase plugin for Greensock

CustomEase.create('test', [{s:0,cp:-0.014,e:0.232},{s:0.232,cp:0.478,e:0.984},{s:0.984,cp:1.49,e:0.996},{s:0.996,cp:0.502,e:1}]); TweenMax.to(document.getElementById('divy'), 2, { x: 400, ease: CustomEase.byName('test') });

How to use?

  1. Connect CustomEase plugin. <script src="customease.js"></script>
  2. Go to the Greensock`s custom ease builder for ActionScript and copy array as shown on the screenshot below.
  3. Paste it on this page.
  4. Copy your code.
  5. Enjoy!