A CodePen by GreenSock. GSAP JS Bezier: Disperse and Converge - A fun little experiment using GreenSock Animation Platform and KineticJS. 

GSAP:
http://www.greensock.com/gsap-js/

BezierPlugin Docs:
http://api.greensock.com/js/com/greensock/plugins/BezierPlugin.html

KineticJS:
http://kineticjs.com/