SVG

SVGのanimateにおけるbegin属性

SVG

animateをjsから動的につくってアニメーションさせる場合、 <button>go</button> <svg> <circle cx="200" cy="200" r="50" fill="red" id="c"/> </svg> <script> document.querySelector("button").addEventListener("click", function() { var c = document.getElementById("c"); var animate = document.createElementNS('http://www.w3.org/2000…