clippy
Create and play coloured ??? or color-less ⬛️⬜️ animated, or static, ASCII-art in the command line!
clippy can help if you are wanting to;
- Develop a rogue-like ASCII game
- Develop word games (animate text)
- Develeop TUI's or CUI's
- Develop a Terminal screensaver
- Create animated logos for your scripts
- Make ASCII-art
- Make coloured ASCII art
- Make animated ASCII art
- Only use the Python standard library!
Example Animations
- txt to clip!
- animated script logo
- coloured vs colourless
- animated vs non-animated
Get this clip | From this txt file/s! |
---|---|
................. |
How clippy works
clippy looks at all the txt files in a directory, and sequentially prints each file to the console in the same line/column position.
Each txt file acts as a 'frame' of the clip; Minor variations between these text files creates the animation!
Make your own animations
Steps
- Create a sub-directory inside the 'art' directory. Give it a meaningful name eg: "Sailing_boat" for a sailing boat animation
- Create a base/template txt file. Your ASCII-art template will live in here. Do it yourself or get ideas from https://www.asciiart.eu/
Eg: your base might have some ASCII-art like this in it (or anything you want!)
.................
........~...v....
.........../|....
.....v..../_|__..
.........\-----/.
~~~~~~~~~`~~~~~~'
- Make multiple copies of this file and in each copy, make some minor changes, for example below I've shifted the boat left, and added a seagull: Tip: You can add as many frames and variations as you want. The more the better!
.....\,/.........
~...v............
.../|............
../_|__..........
.\-----/.........
~`~~~~~~'~~~~~~~~
- Run clip.py and pass the relative path of the directory containing your txt files (frames), pass it the speed (1-100), and pass it the number of cycles to run (1-1000)
- Enjoy and contribute your art here! Submit a pull request of your art to this repo!
ROADMAP
- Build library of ASCII-art and animated ASCII-art
- Auto-colour terminal art
- Generative ASCII-art