Add multipage support to allow multiple frame svg animations
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Invalid
|
Wishlist
|
Unassigned |
Bug Description
I said it in the multipage thread, but I think this deserves a more specific post: adding multiple pages support (SVG 1.2) would be an excellent way to helping doing SVG ANIMATIONS.
Currently SVG animations are made saving DIFFERENT SVG frames as individual .svg files, and then using animation libraries like Snap.SVG to play those as frames and creating/blending the in-between frames automatically.
You can see an example of this in this excellent tutorial:
http://
It is very painful to make animations using many different svg files, because you cannot compare them in an onion-layering way, or going back and fourth between frames with arrows when editing them. If Inkscape would add multipage support, it would allow to create animations using the pages as frames. For example for 1 second of a button animation you have 30 frames.
Then you just need to add some "key" pages at a certain indexes (es. page/frame 0, 10, 20, 30...). Then export the multipage svg, and import it in your web project. Here Snap.svg would automatically "tween" and interpolate the key frames generating the missing frames by interpolating elements with the same id. This is way layers cannot be used: objects with the same id cannot be shared between different layers.
Adding multipage animation support in Inkscape would be cool. It is also very easy to add a "preview" option using Snap.svg.
Changed in inkscape: | |
importance: | Undecided → Wishlist |
Changed in inkscape: | |
status: | New → Invalid |
> Currently SVG animations are made saving DIFFERENT SVG frames as individual .svg files, and then using animation libraries like Snap.SVG to play those as frames and creating/blending the in-between frames automatically.
No, that's not how SVG animations are made. SVG animations are made by hand-editing the SVG file to include <animate> nodes or using scripting languages to manipulate the DOM. It's possible to create a rendered result of these with a tool like SVGani. (for an example of animated SVG, see http:// upload. wikimedia. org/wikipedia/ commons/ 4/4f/Soccer_ ball_animated. svg )
What you're referring to is known as keyframed animation, and easy enough (and even faster!) to do with multiple layers that change throughout an animation. Label them and toggle their visiblity per each export you make.