Starting an SVG animationMotionPath on onClick with a button example

Moving round a square

Moving round a circle