24.07.2015, 07:59 (This post was last modified: 24.07.2015, 08:32 by buuuudzik.)
(23.07.2015, 13:33)admin Wrote: What kind of animation do you want to add?
Please see the attached SVG file as an example. Keep in mind that it will not work as an object icon only as a separate image.
Thank you for your answer
I'd like to know how to add:
1) some motion icon e.g. spinning fan 1-stage or 3-stage fan,
2) some motion icon in menu.
In what application do you prepare clock.svg graphics?
I checked clock.svg on the visualisation demo and clock is working when I import it by "Image" object and clock is not working when I import it by "Link" or "Object".
Quote:I checked clock.svg on the visualisation demo and clock is working when I import it by "Image" object and clock is not working when I import it by "Link" or "Object".
Yes, because SVG uses scripting and it's only available as a separate image but not as an icon.
SVG can be created in Inkscape, Illustrator or any other vector editor that can export SVG. Animation might require adding some JavaScript manually.
In your case maybe an animated GIF is the easiest solution?
Quote:I checked clock.svg on the visualisation demo and clock is working when I import it by "Image" object and clock is not working when I import it by "Link" or "Object".
Yes, because SVG uses scripting and it's only available as a separate image but not as an icon.
SVG can be created in Inkscape, Illustrator or any other vector editor that can export SVG. Animation might require adding some JavaScript manually.
In your case maybe an animated GIF is the easiest solution?
Yes, but isn't scalable
In what application do you embedding js code?
-SOME INFO ABOUT STRUCTURE-
<g> grouping objects <path fill=....> this is the fan on out image <animateTransform attri....> this is the code which animating our fan (more info -> https://developer.mozilla.org/en-US/docs...eTransform). This code is between <path fill=....> and </path>