Creator of video from svg with cairosvg, ffmpeg
Project description
SVGVideoMaker
About
The aim of this project is to write easy animation from description of position.
To do that, we use svg structure.
You create shape like circle, point, polygon, rectangle... and add animation by key time (in second).
Documentation
You can have full documentation if you execute command :
python -m sphinx -b /path/to/SVGVideoMaker/Documentation /path/to/SVGVideoMaker/Documentation/html
Shapes
Available shapes :
- Circle
- Rectangle
- Polygon
- Arc
- Segment
You can also made group who contain shape.
Available operation on shape
- Translation
- Inflation
- Reshaping (for polygon)
Debug your program
Warnings
Terminal supported for image displaying : Terminology, Kitty and others terminal can display pseudo image if you have viu installed. For viu, you can see the git here.
You can get all keyframe for an element with display_animations()
method on svg element.
You can display a svg element in terminal with display(svg_element)
and you can display specific frame of a SVGVideoMaker with print_frame(nb_frame:int)
and the number of frame to display.
Examples
See video in examples file.
Polygon
Utilisation of polygon of this API.
Ellipse
Utilisation of ellipse of this API.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for SVGVideoMaker-0.4.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 388fcec0430a3c24ebd5215fbec710f8ff7182561eba3f1c36253a854afd6e31 |
|
MD5 | c2bf9c3f0316e898f3f3df1729709108 |
|
BLAKE2b-256 | 874e3528a607b98272ca8c568e77068c802cf5f533f66287533c5b56565c1b74 |