TerminalTextEffects
lastmod 2024-12-20created 2024-12-201 edits
TerminalTextEffects (TTE) is a terminal visual effects engine, application, and Python library.
Terminal text effects engine
About
- A visual special effects engine for the terminal
- Can be used directly as a system application, or as a Python library within your own scripts/applications
- Xterm 256/RGB color support
- Complex character movement via paths, waypoints, and motion Easing, with quadratic/cubic Bezier curve support
- Complex animations can be built through scenes with symbol/color changes, layers, Easing, and path-synced progression
- Generates color gradients with variable stops/steps
- Event handling for path/scene state changes, with custom callback support and a variety of predefined actions
- Runs inline, preserving terminal state and workflow
Effects showroom
- Beams: creates beams that travel across the canvas, illuminating characters.
- Binary path: decodes characters into binary form and moves them from outside the canvas to their input coordinates.
- Black hole: creates a black hole in a field of stars, absorbs the stars, then explodes the data back to its original positions.
- Bouncy balls: characters fall from the top of the canvas, bounce like bouncy balls, and settle into place.
- Bubbles: forms characters into bubbles that float around and then pop.
- Burn: characters ignite and burn across the screen.
- Color shift: displays a color-shifting gradient across the whole terminal.
- Crumble: characters crumble into dust and then re-form.
- Decrypt: provides a movie-style text decryption effect.
- Error correction: swaps characters from incorrect initial positions into the correct ones.
- Expand: characters expand from the center.
- Fireworks: characters are launched up the screen, explode like fireworks, and settle into place.
- Center expansion: expands from the center of the canvas as a single row or column.
- Orbital launch: four launchers circle the canvas firing characters that form the text in the center.