Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3
<svg width="1000" height="250"> <polygon points="0 0, 0 100, 100 50" fill="orange"> <animate attributeName="points" to="300 0, 300 100, 400 50" dur="3s" fill="freeze" repeatCount="2"/> </polygon> </svg>
8th Apr 2020, 1:09 PM
Nic Beis
+ 2
You can animate like this, and you can change every single coordinate so you can move the entire shape or a single point
8th Apr 2020, 1:10 PM
Nic Beis
+ 1
Do you want to move the entire polygon or only the points?
8th Apr 2020, 12:22 PM
Nic Beis