Terminal Text Effects
Inline Visual Effects in the Terminal
Table Of Contents
TTE
TerminalTextEffects is a collection of visual effects that run inline in the terminal. The underlying visual effect framework supports the following:
- XTerm 256 Color
- RGB Hex Triplet Color
- Color Gradients
- Character Motion (Waypoints, Speed, Acceleration)
- UTF8 Character Set
Requirements
TerminalTextEffects is written in Python and does not require any 3rd party modules. Terminal interactions use standard ANSI terminal sequences and should work in most modern terminals.
Installation
pip install terminaltexteffects
Usage
cat your_text | tte <effect> [options]
OR
cat your_text | python -m terminaltexteffects <effect> [options]
- All effects support adjustable animation speed using the
-aoption. - Use
<effect> -hto view options for a specific effect, such as color or movement direction.- Ex:
tte decrypt -h
- Ex:
Options
options:
-h, --help show this help message and exit
--xterm-colors Convert any colors specified in RBG hex to the closest XTerm-256 color.
Effect:
Name of the effect to apply. Use <effect> -h for effect specific help.
{burn,columnslide,decrypt,expand,pour,rain,randomsequence,rowmerge,rowslide,scattered,shootingstar,spray,verticalslice}
Available Effects
burn Burns vertically in the output area.
columnslide Slides each column into place.
decrypt Display a movie style decryption effect.
expand Expands the text from a single point.
pour Pours the characters into position from the given direction.
rain Rain characters from the top of the output area.
randomsequence Prints the input data in a random sequence.
rowmerge Merges rows of characters.
rowslide Slides each row into place.
scattered Move the characters into place from random starting locations.
shootingstar Displays the text as a falling star toward the final coordinate of the character.
spray Draws the characters spawning at varying rates from a single point.
verticalslice Slices the input in half vertically and slides it into place from opposite directions.
Examples
RAIN
DECRYPT
BURN
ROWSLIDE
EXPAND
License
Distributed under the MIT License. See LICENSE for more information.
Metadata
Release files for terminaltexteffects 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| terminaltexteffects-0.2.0.tar.gz | 28.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| terminaltexteffects-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 73.8 kB
Release files / terminaltexteffects-0.2.0.tar.gz
| Download URL | terminaltexteffects-0.2.0.tar.gz |
|---|---|
| Size | 28.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
19890b97b3ed7aa70b337073b7469d103d05b2fa3d89453c3878291a9b5f6b6c
|
|
BLAKE2b-256 checksum How to use checksums |
bf011dacdc6874be66948dcc5cb75a87a1bb7911584de60c13bf2571418231c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.10.12 Linux/6.4.6-76060406-generic
|
Release files / terminaltexteffects-0.2.0-py3-none-any.whl
| Download URL | terminaltexteffects-0.2.0-py3-none-any.whl |
|---|---|
| Size | 45.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8dddd1191456d4ef27acb9131c1f7e38526337a5dc7575b0e548b55cca348c36
|
|
BLAKE2b-256 checksum How to use checksums |
14d8fd8fb5d8b35bf759a5ce9cac8800749d0379b09cd57d84ce0dc26e5fa798
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.10.12 Linux/6.4.6-76060406-generic
|