CTAN Comprehensive TeX Archive Network

svg-animate – Generate animated SVG diagrams with TikZ

This package provides step-by-step animations for TikZ diagrams in SVG format. The resulting animations run natively in web browsers and do not require JavaScript or plugins.

From a single source file, both an animated SVG and a static PDF can be generated. In the PDF output, steps may be stacked or collapsed into a single frame.

The animation model is based on discrete steps. A TikZ picture is enclosed in \begin{animate}, material to be shown at a given step is marked with \reveal{...}, and \animstep is used to advance to the next step.

Additional features include per-step durations, visibility over multiple steps or step ranges, blinking elements, one-shot or looping playback, and a \noanimate fallback for PDF output.

In SVG output, visibility changes are implemented by means of SMIL animations with instantaneous opacity transitions.

Sources/graphics/svg-animate
Documentation
Home pagehttps://github.com/renard/svg-animate
Bug trackerhttps://github.com/renard/svg-animate/issues
Repositoryhttps://github.com/renard/svg-animate
Developershttps://github.com/renard/svg-animate/pulls
Version1.0 2026-03-16
LicensesGNU Affero General Public License, version 3
Copyright2026 Sébastien Gross
MaintainerSébastien Gross
Contained inTeX Live as svg-animate
TopicsPGF TikZ
Graphics motion

Download the contents of this package in one zip archive (116.8k).

Community Comments

Loading...

Announcements

Here you can see a respective diagram in newer browsers.

more

Package Links

Guest Book Sitemap Contact Contact Author