This design requires a number of functional calls: anime.js - Chaos.xar
I hope you can see the power of the technique.

This time if you untick Shapes as SVGs, the animation does work; the shapes move higher up the page as the code is latching onto a different part of the document structure.

Acorn