svgsequencevideo is a Python library and CLI for generating drawing reveal videos from SVG files: every shape appears one after another, in the order it is drawn in the SVG, as if the artwork were being drawn live.
puppyTmMoonlight_FABV.mp4
Progressive reveal of a vector illustration generated from SVG.
See documentation: https://svgsequencevideo.readthedocs.io.
(venv) $ pip install svgsequencevideoGenerating a video is split into two independent steps: a slow render of the SVG into PNG frames, done once,
and a fast video build from those frames, run as many times as needed while tuning the reveal timing.
(venv) $ svgsequencevideo render drawing.svg --width 1920
(venv) $ svgsequencevideo video --revealduration 15 --heuristic complex(venv) $ pip install -e ".[dev]"(venv) $ python -m build(venv) $ coverage run
(venv) $ coverage htmlThen open htmlcov/index.html.
Generate documentation:
(venv) $ make htmlThen open docsBuild/index.html.
Some Visual Studio Code settings from visualStudioCodeSettings.json should be used to ensure consistency in the coding style.
In Visual Studio Code, install these extensions:
- isort to sort Python imports automatically
- Pylance for type checking