samedi 2 septembre 2017

fish

<svg width="400" height="400">
<rect  width="400" height="400"x="0" y="0" fill="royalblue"/>
<g id="fish" transform="translate(20 20)">
<circle fill="salmon" cx="0" cy="0" r="10"/>
<path fill="salmon" d="m10,0 l 10,10 l 0,-20z">
<animate attributename="d" begin="0s" dur="0.5s" values="m10,0 l 10,10 l 0,-20z;m10,0 l 0,10 l 0,-20z;m10,0 l 10,10 l 0,-20z" repeatcount="indefinite"/>
</path>
</g>
</svg>