+ 2

On Html, how must I animate a POLYGON?

I know that you can use the <animate> tag to move things such as <circle> and <rect> as I have learned from the app.... BUT! I attempted to spend an hour making a really vivid polygon with a numerous amount of 'points' and the animate tag will not work to make all of them move. What must I do? Or does animate only work for simple objects?

23rd Jun 2020, 7:51 AM
Ammaar
Ammaar - avatar
5 ответов
+ 2
Please share your creation and wherever you will get stuck in the code,ask your question. Then we will be able to help you more efficiently
23rd Jun 2020, 8:47 AM
Arctic Fox
Arctic Fox - avatar
+ 2
Use animate tag, attribute "points" with "from" and "to" atteibutes to specify points. https://code.sololearn.com/WAppG38Doo36/?ref=app
23rd Jun 2020, 9:07 AM
Calviղ
Calviղ - avatar
+ 1
There is much more simpler way . Use css instead provide a class or I'd to your element and use css animation as usual
23rd Jun 2020, 7:54 AM
Ayush Kumar
Ayush Kumar - avatar
+ 1
꧁༒Rishabh༒꧂ oh ok I will note that
23rd Jun 2020, 8:59 AM
Ammaar
Ammaar - avatar
0
F҉R҉O҉N҉T҉ 🔚& 🔙🔚/ 𝔸𝕣𝕕𝕦𝕚𝕟𝕠 Lover ah I see the problem now, maybe I should try to learn other skills instead of just html
23rd Jun 2020, 9:00 AM
Ammaar
Ammaar - avatar