@Egg was very kind to demo an animated solution in this Thread - https://www.talkgraphics.com/showthr...610#post652610.

Here is a different construction using anime.js that shows how to make one of the waves: anime.js - Waving not Drowning.xar
To achieve more that one you would using extra pairs of shapes with different Names and calling code.

The main trick is to create one shape, clone it and adjust the position of its nodes and change the curves, all without adding new nodes.
The morphing from one to the other is then smooth.

Experiment also with the morphing shape colour and transparency.

The shape outputs at all times need to be SVG so earlier XDA versions will fail.

Acorn