I’d like to animate this logo. All that would need to happen is for lines to move smoothly to a different position. I have an SVG version of the logo. What would be the easiest way to do this? Editing every frame seperately and then making them into an animated GIF takes too long, makes the animation choppy, and too big to load.
I do not want to use deprecated technologies like Flash.
What would be the best way to do this?
This is a non-finished version of what I’d like to achieve; http://heuvel-folie-serres.com/v2/img/logo_moving.gif
PNG; http://heuvel-folie-serres.com/v2/img/logo.png
SVG; http://heuvel-folie-serres.com/v2/img/logo.svg
There is no easy way you can animate your SVG as it is. It is a composite path and finding the right nodes is not only cumbersome but also expensive to animate.
You need to modify your original SVG to remove the lines you intent to animate, then you can add lines such as…
You could animate with
SMILbut unfortunately IE9 doesn’t support it, so here’s a very naive implementation of your animation:A more robust solution would use
requestAnimationFramewhich makes it easy to add easing functions and doesn’t consume resources when the current tab is not active.Here is a demo (you must remove the existing lines in your vector editing software).
http://jsfiddle.net/6WPEb/