Created
January 18, 2019 19:20
-
-
Save jeangontijo/f62baf3b23cdac7d87474002af5c71b0 to your computer and use it in GitHub Desktop.
SVG Morph Animation
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 class="blob" viewBox="0 0 1000 1000" xmlns="http://www.w3.org/2000/svg"> | |
<path d="pathA" fill-rule="nonzero"> | |
<animate dur="5s" repeatCount="indefinite" attributeName="d" values="pathA;pathB;pathA" fill="freeze" | |
calcMode="spline" | |
keySplines="0.4 0 0.2 1; 0.4 0 0.2 1"> | |
</path> | |
</svg> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment