Last active
February 10, 2025 20:25
-
-
Save Aleksi44/da96f10eb2aad96475c5cba44f760bdf to your computer and use it in GitHub Desktop.
SVG animation waves
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Calque_1" x="0px" | |
y="0px" viewBox="0 0 1300 550" style="enable-background:new 0 0 1300 550;" xml:space="preserve"> | |
<style type="text/css"> | |
.st1{opacity:0.6;fill:#0C3157;enable-background:new;} | |
</style> | |
<path class="st1" d="M 0 250 C 600 450 650 100 1300 250 L 1300 550 L 0 550 L 0 250"> | |
<animate | |
attributeName="d" | |
dur="5s" | |
begin="1s" | |
values="M 0 250 C 600 450 650 100 1300 250 L 1300 550 L 0 550 L 0 250; | |
M 0 250 C 600 100 650 450 1300 250 L 1300 550 L 0 550 L 0 250; | |
M 0 250 C 600 450 650 100 1300 250 L 1300 550 L 0 550 L 0 250" | |
repeatCount="indefinite" | |
/> | |
</path> | |
<path class="st1" d="M 0 250 C 600 100 650 450 1300 250 L 1300 550 L 0 550 L 0 250"> | |
<animate | |
attributeName="d" | |
dur="5s" | |
values="M 0 250 C 600 100 650 450 1300 250 L 1300 550 L 0 550 L 0 250; | |
M 0 250 C 600 450 650 100 1300 250 L 1300 550 L 0 550 L 0 250; | |
M 0 250 C 600 100 650 450 1300 250 L 1300 550 L 0 550 L 0 250" | |
repeatCount="indefinite" | |
/> | |
</path> | |
<path class="st1" d="M 0 250 C 950 350 950 150 1300 250 L 1300 550 L 0 550 L 0 250"> | |
<animate | |
attributeName="d" | |
dur="5s" | |
begin="2s" | |
values="M 0 250 C 950 350 950 150 1300 250 L 1300 550 L 0 550 L 0 250; | |
M 0 250 C 350 150 350 350 1300 250 L 1300 550 L 0 550 L 0 250; | |
M 0 250 C 950 350 950 150 1300 250 L 1300 550 L 0 550 L 0 250" | |
repeatCount="indefinite" | |
/> | |
</path> | |
<path class="st1" d="M 0 250 C 350 150 350 350 1300 250 L 1300 550 L 0 550 L 0 250"> | |
<animate | |
attributeName="d" | |
dur="5s" | |
values="M 0 250 C 350 150 350 350 1300 250 L 1300 550 L 0 550 L 0 250; | |
M 0 250 C 950 350 950 150 1300 250 L 1300 550 L 0 550 L 0 250; | |
M 0 250 C 350 150 350 350 1300 250 L 1300 550 L 0 550 L 0 250" | |
repeatCount="indefinite" | |
/> | |
</path> | |
</svg> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment