7 releases
Uses new Rust 2024
new 0.1.13 | Mar 27, 2025 |
---|---|
0.1.12 | Mar 24, 2025 |
0.1.5 | Dec 25, 2023 |
#151 in Video
290 downloads per month
120KB
3K
SLoC
๐ฆ TARTS: Terminal Arts ๐จ
BLAZINGLY FAST terminal screensavers written in Rust!
tarts
(shortcut from Terminal Arts) is a collection of MEMORY SAFE terminal-based screen savers that bring visual delight to your command line. Built with ZERO-COST ABSTRACTIONS, these screen savers run efficiently while providing stunning visual effects.
โจ Features
- ๐ง๏ธ Matrix Rain: Experience the famous "Matrix" digital rain effect right in your terminal
- ๐งซ Conway's Game of Life: Watch the classic cellular automaton evolve before your eyes
- ๐งฉ Maze Generation: Get lost in procedurally generated mazes
- ๐ฆ Boids: Witness the emergent flocking behavior of these simulated birds
- ๐ง 3D Cube: Renders a rotating 3D cube using terminal graphics with braille patterns for higher resolution.
- ๐ฆ Crab: Animated crabs walking across your screen, interacting with each other and the environment.
๐ Installation
Install directly using cargo:
cargo install tarts
or you can use it like a library for your own TUI app!
๐ ๏ธ Usage
To use the screen savers, run the executable with the desired screen saver's name as an argument:
tarts matrix # The classic digital rain effect
tarts life # Conway's Game of Life
tarts maze # Watch a maze generate itself
tarts boids # Bird-like flocking simulation
tarts cube # 3d rotating cube using braille patterns
tarts crab # Ferris the crab with collisions
Press q
or Esc
to exit (or even Ctrl+C).
โ๏ธ Configuration
Not implemented yet. I think it should be toml file where you can set options for effects.
๐งช Development
This project uses standard Rust tooling:
# Build the project
cargo build --release
# Run tests
cargo test
# Benchmark performance
cargo bench
๐ค Contributing
Contributions are welcome! Please feel free to submit pull requests, report bugs, and suggest features.
๐ License
This project is licensed under the MIT License.
More?
- Args parser to run with configuration (yaml or something)
- add rotating donut? https://www.a1k0n.net/2011/07/20/donut-math.html
- add pipes? https://asciinema.org/a/427066
- add cellular automation like https://www.reddit.com/r/neovim/comments/z70mg3/cellularautomatonnvim_my_first_plugin/
Dependencies
~5โ14MB
~206K SLoC