A simple ASCII art animator
Project description
ascii-animator
A simple ASCII text animator.
The ascii-art-animator
CLI will take as input a GIF image, extract all the frames from it, convert each frame to ASCII art using ascii-magic, then display each frame to the terminal using l2term.
Installation
pip install ascii_animator
Usage
ascii-art-animator --help
usage: ascii-art-animator [-h] [-s SPEED] [-f FILE] [-d]
Ascii Art Animator from GIF
optional arguments:
-h, --help show this help message and exit
-s SPEED, --speed SPEED
speed of the animation: very_slow, slow, normal, fast (default normal)
-f FILE, --file FILE the path to a gif file
-d, --debug display debug messages to stdout
Examples
ASCII conversion and animation of GIF images
Convert the following GIF image
ascii-art-animator -f docs/images/marcovich.gif
Convert the following GIF image
ascii-art-animator -f docs/images/afuera.gif -s fast
Game-Of-Life
A Conway Game-Of-Life implementation that uses ascii_animator
to display the game to the terminal.
Development
Clone the repository and ensure the latest version of Docker is installed on your development server.
Build the Docker image:
docker image build \
-t \
ascii-animator:latest .
Run the Docker container:
docker container run \
--rm \
-it \
-v $PWD:/code \
ascii-animator:latest \
bash
Execute the build:
pyb -X
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
ascii-animator-0.1.2.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for ascii_animator-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b97ce79d0eb1f47bf2212be1a750a22fc14bdaf59feff76ec770b42265161de |
|
MD5 | e5b19c33b884ae722db4c44126435061 |
|
BLAKE2b-256 | ef44d7bc9e885d7a8d6d6e544827a21b37e0c32fa07779817b23d3880e54ae1d |