Skip to content

Latest commit

 

History

History
85 lines (48 loc) · 1.46 KB

README.md

File metadata and controls

85 lines (48 loc) · 1.46 KB

animate-output

Note: PIL is required. So please install PIL module first.

DESCRIPTION

simple python program that output ascii art with animation.

USAGE

animate_output.py <[-i] [--image]> [Location] || <[-a] [--ascii]> [Location]

## example
./animate_output.py --speed 0.01 --image google.jpg  ## image is included
## or
./animate_output.py --speed 0.01 --ascii google.txt  ## ascii art is included
## or just
./animate_output.py --speed 0.01 --clipboard ## content of clipboard will be used

OPTIONS

  -h, --help            show this help message and exit
  -i IMAGE [IMAGE ...], --image IMAGE [IMAGE ...]
                        Location of image
  -a ASCII [ASCII ...], --ascii ASCII [ASCII ...]
                        Location of text file containing ascii art
  -c, --clipboard       Copy from clipboard
  -w [WIDTH], --width [WIDTH]
                        Width of ascii art
  -s [SPEED], --speed [SPEED]
  
  

INSTALLATION

Clone this repository

git clone https://github.com/ilvghst/animate-output.git

Change directory

cd animate-output

Install dependencies

pip install -r requirements.txt

Make it executable (unix user) && RUN IT!

chmod +x animate_output.py 
./animate_output.py [ --speed ] 0.01 < [ --ascii ] [ --image ] > [ source ] < [ --clipboard ] >

voilà, you are good to go!

Thank you!