#visual-effects #conway #screen-savers #terminal #rain #run #digital

bin+lib tarts

Screen savers and visual effects for terminal

10 releases

Uses new Rust 2024

new 0.1.17 May 31, 2025
0.1.16 Apr 14, 2025
0.1.14 Mar 29, 2025
0.1.5 Dec 25, 2023

#30 in Games

Download history 3/week @ 2025-03-12 287/week @ 2025-03-19 309/week @ 2025-03-26 24/week @ 2025-04-02 99/week @ 2025-04-09 33/week @ 2025-04-16 28/week @ 2025-04-23 14/week @ 2025-04-30 11/week @ 2025-05-07 12/week @ 2025-05-14 128/week @ 2025-05-28

154 downloads per month

MIT license

150KB
3.5K SLoC

Crates.io Total Downloads GitHub License codecov

๐Ÿฆ€ 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.

digital rain

โœจ 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.
  • ๐Ÿฉ Rotating Donut: A mesmerizing rotating donut rendered in the terminal
  • ๐Ÿšฐ Pipes: Watch pipes flow with a smooth animation

๐Ÿš€ Installation

Install directly using cargo:

cargo install tarts

or you can use it like a library for your own TUI app!

Nix

This repository also provides a nix flake:

nix run github:oiwn/tarts -- matrix

๐Ÿ› ๏ธ 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
tarts donut  # Rotating donut
tarts pipes  # Pipes effect

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.


Built with โค๏ธ and FEARLESS CONCURRENCY

More?

Dependencies

~4โ€“13MB
~189K SLoC