May-27-2024, 10:52 AM
(This post was last modified: May-27-2024, 10:52 AM by MasterIphone.)
(May-26-2024, 09:52 PM)deanhystad Wrote: What is your end goal?
I have a more complex SVG file, which is what I tried to animate.
But it didn’t work out in Python, and it didn’t quite work out in HTML+CSS.
As a result, so far we have been able to animate a little using styles in the SVG file itself, but this is not a technological solution.
Below is the svg file
https://drive.google.com/file/d/1z6J5VhO...flrjP/view
And work video
The hardest part is finding the center of rotation.
Now the rotation is around the number 5 located on the right.
And this
https://drive.google.com/file/d/16pbkgfm...sp=sharing
Before this, there were solutions on QT5, where they worked with SVG graphics and everything was fine.
As I already wrote, animation inside the SVG file itself is not technologically advanced and probably almost no one uses it.
It’s more interesting to take the original SVG file, parse it with some program, in C++ or Python, and animate it.
I understand this should work.