For this animation I used the animation nodes "distribute instances on spline"-Template and animated the instances using a math node and wiggle node. I rendered the animation using cycles and freestyle.
you can download the blend file here
animated mesh of an icosphere
AN experiment - Boxes
AN experiment - delayed instanciation
AN experiment - distance