Functional animation library
Project description
Requirements
- Python 3.9+
- Poetry
- Some external dependencies, see "External dependencies"
External dependencies
LaTeX
LaTeX is needed to render text and equations.
Arch Linux
sudo pacman -S texlive-latexextra
Ubuntu
sudo apt-get install texlive-latex-extra
Windows
You should be good to go if you install MiKTeX (https://miktex.org/download)
FFmpeg
FFmpeg is used to render a video from frames. You can get it here: https://www.ffmpeg.org/download.html
Usage
Compile the example
python -m lanim -o out.mp4 lanim.examples.showcase
Compile the example in lower quality
python -m lanim -o out.mp4 -w 480 -h 270 --fps 15 lanim.examples.showcase
Compile the example but use tmpfs for temporary directory
python -m lanim -o out.mp4 -p /tmp/.lanim lanim.examples.showcase
See full list of options:
python -m lanim --help
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
lanim-0.1.0.tar.gz
(19.4 kB
view hashes)
Built Distribution
lanim-0.1.0-py3-none-any.whl
(22.0 kB
view hashes)