console
<!DOCTYPE html>
<html>
<head>
<!--草稿
<animate attributeName="opacity"
values="0;1;0;1;0;1;1"
keyTimes="0;0.4;0.45;0.5;0.55;0.60;0.8"
begin="click+0.2s" dur="1s"
calcMode="discrete"
repeatCount="1"
fill="freeze"></animate>
<animate attributeName="opacity" to="0"
begin="click+93s" dur="0.1s"
calcMode="discrete" fill="freeze"></animate>
<svg
width='300px' height='300'
viewBox='0 0 300 300'
style="background:#ffaabb">
<rect x='60' y='60' width='60' height='60'
fill='#559966' stroke='black' srtoke-width='3'
transform='translate'>
<animate id="x" attributeName="x" to="60"
begin="click+0.2s" dur="1s" fill="freeze" />
<animate attributeName="y" to="80" begin="x.end" dur="1s" fill="freeze" />
-->
</head>
<body>
<!--粉色背景 -->
<svg width='500px' height='800px' viewBox='0 0 500 800' style="background:#ffaabb">
<!--文字闪烁 -->
<g>
<animate attributeName="opacity" begin="0s" dur="1s" values="1;0;1" repeatCount="indefinite"></animate>
<text x="75" y="60" fill="#fff" style="font-size: 18px">点击圆圈 开始动画</text>
</g>
<svg>
<!--动画元素 -->
<circle id="circle" cx="40" cy="55" r="15" fill='#ff12' stroke='black' srtoke-width='3'> </circle>
<!--动画元素 -->
<rect id='rr' x='150' y='120' width='20' height='20' fill='#559966' stroke='black' srtoke-width='3' >
<!--下坠 <animate attributeName="y" to="280" begin="circle.click" dur="2s" />-->
<animateMotion path="M202.4,58.3c-13.8,0.1-33.3,0.4-44.8,9.2
c-14,10.7-26.2,29.2-31.9,45.6c-7.8,22.2-13.5,48-3.5,70.2c12.8,28.2,47.1,43.6,68.8,63.6c19.6,18.1,43.4,26.1,69.5,29.4
c21.7,2.7,43.6,3.3,65.4,4.7c19.4,1.3,33.9-7.7,51.2-15.3c24.4-10.7,38.2-44,40.9-68.9c1.8-16.7,3.4-34.9-10.3-46.5
c-9.5-8-22.6-8.1-33.2-14.1c-13.7-7.7-27.4-17.2-39.7-26.8c-5.4-4.2-10.4-8.8-15.8-12.9c-4.5-3.5-8.1-8.3-13.2-11
c-6.2-3.3-14.3-5.4-20.9-8.2c-5-2.1-9.5-5.2-14.3-7.6c-6.5-3.3-12.1-7.4-19.3-8.9c-6-1.2-12.4-1.3-18.6-1.5
C222.5,59,212.5,57.8,202.4,58.3"
begin="circle.click" dur="10s" fill=freeze rotate="auto" />
</animateMotion>
</rect>
</svg>
</g>
</svg>
</body>
</html>