Make frame-by-frame layer animations with any SVG editor.
SVG Flipbook is an online application for animating your SVG without code. It displays an animated version of your SVG with each layer as a single frame in the animation. When you save your SVG in your existing vector graphics editor you'll see an updated version of the animation in the SVG Flipbook app. You can edit the SVG, then save, and see the animated changes straight away. When you're done you can export your animated SVG to use it on the web. You can use whatever SVG editor you like to do the editing. Both Adobe Illustrator and Inkscape work great.
How to use the app
First, create an account and log in, then you will be able to open the app. While you are editing the SVG in your vector graphics program, open the same file in the SVG Flipbook app. When you hit save in your SVG editor it will "live reload" in the app and you will see your changes playing.
You can customize frame timing and behaviour by editing the layer name in your vector graphics program:
- Set the frame duration by entering the number of milliseconds in brackets on the layer name, like
(100)for a pause of 100ms, or 1/10th of a second.
- Set a layer as a static background which will always be visible, by adding the word
(static)to the layer name.
Export to animated SVG
You can export your finished creation to an animated SVG. This will save a copy of your SVG with the animation script bundled. When you open the SVG in a web browser or add it to an
<object> tag you will see the animtion playing.
The animation above was exported from SVG Flipbook and included in this HTML page.
How to embed the SVG in HTML
You can use the following code to embed your animated SVG in an HTML file:
<object data="FILENAME.svg" type="image/svg+xml"> <img src="FILENAME.svg" /> </object>