Option with animated mask
This technique is universal.

- Also, this technique can be used to revitalize any image within the site.
- You can add any text to any place in the image that can be dynamically changed using
JS . In the example - Site Daniel - Layout will never break when the browser window is resized when using any gadget.
Implementation details
The animation effect is achieved by changing the attribute "d" of the patch, which is part of the mask.
<animate attributeName="d" ..../>
The mask consists of two parts:
- the transparent part is defined by the patch
fill="white" the translucent part is a full width rectangle
<rect width="100%" height="100%" fill="red"/>
More on masks here.
See full screen, otherwise you will not see the animation, it is below
<div class="container"> <svg viewBox="0 0 500 220" preserveAspectRatio="none" style="height: 100%; width: 100%;"> <mask id="msk1" > <rect width="100%" height="100%" fill="red"/> <g transform="translate(0 130)"> <path transform="translate(0 -100)" d="M-1.41,149.50 C235.60,121.88 316.87,102.13 501.97,149.50 L500.00,0.00 L0.00,0.00 Z" style="stroke: none; fill:white;"> <animate attributeName="d" dur="10s" repeatCount="indefinite" values=" M-1.41,149.50 C235.60,121.88 316.87,102.13 501.97,149.50 L500.00,0.00 L0.00,0.00 Z; M-1.41,129.77 C178.61,82.39 314.61,149.50 501.97,149.50 L500.00,0.00 L0.00,0.00 Z; M-1.41,149.50 C235.60,121.88 316.87,102.13 501.97,149.50 L500.00,0.00 L0.00,0.00 Z" /> </path> </g> </mask> <image xlink:href="https://i.stack.imgur.com/J8XTf.jpg" width="100%" height="100%" mask="url(#msk1)" /> <text x="50" y="155" font-size="36" fill="red">Site Daniel </text> </svg> </div>