Skip to main content

Functional animation library

Project description

Requirements

  1. Python 3.9+
  2. Poetry
  3. 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


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)

Uploaded Source

Built Distribution

lanim-0.1.0-py3-none-any.whl (22.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page