From 2f20b41002e0461b27c05700f43efd7cdc932460 Mon Sep 17 00:00:00 2001 From: "William Da." Date: Tue, 25 Feb 2025 08:54:41 +0100 Subject: [PATCH] Update README.md Added several enhancements and changes. Enhanced clarity and added a small logo for the project! --- README.md | 69 ++++++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 53 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 8a7347b..2a7a632 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,28 @@ -# ascii-animator -[![build+test](https://github.com/soda480/ascii-animator/actions/workflows/main.yml/badge.svg?branch=main)](https://github.com/soda480/ascii-animator/actions/workflows/main.yml) -[![complexity](https://img.shields.io/badge/complexity-A-brightgreen)](https://radon.readthedocs.io/en/latest/api.html#module-radon.complexity) -[![vulnerabilities](https://img.shields.io/badge/vulnerabilities-None-brightgreen)](https://pypi.org/project/bandit/) -[![PyPI version](https://badge.fury.io/py/ascii-animator.svg)](https://badge.fury.io/py/ascii-animator) -[![python](https://img.shields.io/badge/python-3.8%20%7C%203.9%20%7C%203.10%20%7C%203.11%20%7C%203.12-teal)](https://www.python.org/downloads/) - -A simple ASCII text animator. - +
+

ascii-animator - A simple ASCII text animator

+ +
+ + build+test + + + complexity + + + vulnerabilities + + + PyPI version + + + python + +
+ + ascii-animator image +
+ +
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](https://pypi.org/project/ascii-magic/), then display each frame to the terminal using [list2term](https://pypi.org/project/list2term/). ### Installation @@ -45,15 +61,17 @@ Use `ascii-art-animator` to convert the following GIF image to an ascii animatio ```bash ascii-art-animator -f docs/images/marcovich.gif -a -m 3 -c 100 ``` -**input** +**GIF Input** ![example](https://raw.githubusercontent.com/soda480/ascii-animator/main/docs/images/marcovich.gif) -**output** +**Program Output** ![example](https://raw.githubusercontent.com/soda480/ascii-animator/main/docs/images/marcovich-exec.gif) -### `Animation` class +--- + +### The `Animation` class โญ Use the Animation class to create your own animations. @@ -89,27 +107,46 @@ A Matrix animation. A Conway Game-Of-Life implementation that uses `ascii_animator` to display the game to the terminal. -### Development +--- + +### Installation ๐Ÿš€ Clone the repository and ensure the latest version of Docker is installed on your development server. -Build the Docker image: +1) Build the Docker image: ```bash docker image build \ -t ascii-animator:latest . ``` -Run the Docker container: +2) Run the Docker container: ```bash docker container run \ --rm \ -it \ -v $PWD:/code \ + ascii-animator:latest \ bash ``` -Execute the build: +3) Execute the build: ```sh pyb -X ``` + +--- + +### ๐Ÿ“„ Issues & Support + +Encounter a problem? Have a suggestion? Feel free to **open an issue** and include the following details: + +- โœ… **Clear description** of the issue or feature request +- ๐Ÿ› ๏ธ **Steps to reproduce** (if applicable) +- ๐Ÿ“ธ **Screenshots or logs** (if relevant) +- ๐Ÿ’ก **Expected vs. actual behavior** + +Your feedback helps improve the projectโ€”thank you for contributing! ๐Ÿš€ + + +