Python module to create graphical animations.
Project description
Graphical Animation
A command line graphical animation creator.
Features
- Linear interpolation in shape size, location, and color
- MP4 export
How to use
- Import the module:
import graphical_anim as ganim
- Define a video:
video = ganim.Video(resolution, fps)
- Add a layer (a rectangle in this example):
rect = ganim.shapes.Rect(location, size, color)
- Insert keyframes:
rect.keyframe(frame, datapath, value)
- Example:
rect.keyframe(10, "loc_x", 2.3)
Changelog
Version 0.0.3
- Circle and polygon
- Fixed minor bugs.
Version 0.0.2
- First working version
- Rectangle and export video.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
graphical-anim-0.0.4.tar.gz
(4.7 kB
view details)
Built Distribution
File details
Details for the file graphical-anim-0.0.4.tar.gz
.
File metadata
- Download URL: graphical-anim-0.0.4.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85f76a173b855ed5d406df9b472470c6cbd0e6b127380d5eee1a99efeb2dbbde |
|
MD5 | 6b030fb5a9c64231c27609ac9e869f66 |
|
BLAKE2b-256 | 64f97a2c3f3668774c789179863877807c3a0821e543b5ed165135e734127cbe |
File details
Details for the file graphical_anim-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: graphical_anim-0.0.4-py3-none-any.whl
- Upload date:
- Size: 19.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03b57952343357fa536c026a1ed79742e46c37d84493d9acd76a53f9c861538f |
|
MD5 | 7023e96a47b05ce09b50bd45d513e70c |
|
BLAKE2b-256 | faed201e6e05fb60821e79303b7c1c05781a7f875f1ccfa22f179907cb8ed014 |