MCPcopy Index your code
hub / github.com/Seebass22/terminal-toys

github.com/Seebass22/terminal-toys @v0.7.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.7.0 ↗ · + Follow
104 symbols 206 edges 12 files 2 documented · 2%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

terminal-toys

A collection of terminal screensavers

screenshot

Screensavers

3d pipes

https://github.com/user-attachments/assets/e2425ca8-b1fd-46b0-895c-74e3edbf159c

bouncy balls

https://github.com/user-attachments/assets/17bb430a-8b08-44ee-afce-faf2bcc9205d

splits

https://github.com/user-attachments/assets/79d8a8c2-4549-4d5a-aa0e-466159fb300c

falling sand

https://github.com/user-attachments/assets/db9570ac-ed66-4afe-8e28-af47050fa13d

game of life

https://github.com/user-attachments/assets/c1acfead-9885-4aa2-a81d-e784d26ea62d

tunnel

https://github.com/user-attachments/assets/1d75fb73-4acd-4d47-b3a9-fc165be325e8

Langton's ant

https://github.com/user-attachments/assets/f16d8e46-0572-40c6-8bba-751c0e94d353

Bubble universe

https://github.com/user-attachments/assets/8f190667-1f1c-4170-867f-88af9caaf027

Sine cube

https://github.com/user-attachments/assets/5d5136df-b5b6-4a21-9423-91915c604aac

Installation

Precompiled binaries are available for Windows, macOS and Linux.

Compile and install the latest release with:

cargo install terminal-toys

Alternatively, use cargo binstall to install the binary directly from GitHub:

cargo binstall terminal-toys

Usage

List all screensavers by running terminal-toys without arguments (or with --help, -h or help)

$ terminal-toys -h
Usage: terminal-toys <COMMAND>

Commands:
  balls    Bouncy balls!
  pipes3d  3d pipe screensaver
  splits   Lines that split after a while
  life     Game of life
  sand     Falling sand
  help     Print this message or the help of the given subcommand(s)

Options:
  -h, --help     Print help
  -V, --version  Print version

Each screensaver has its' own --help/-h

$ terminal-toys balls -h
Bouncy balls!

Usage: terminal-toys balls [OPTIONS]

Options:
  -m, --marker <TYPE>      Marker type (Braille, Dot, Bar, Block, HalfBlock) [default: Braille]
  -n, --max-balls <BALLS>  Number of balls to spawn [default: 50]
  -h, --help               Print help

If your terminal font does not support braille characters, try using -m HalfBlock

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 73
Class 13
Function 13
Interface 4
Enum 1

Languages

Rust100%

Modules by API surface

src/rings.rs14 symbols
src/sand.rs12 symbols
src/cube.rs12 symbols
src/pipes3d.rs11 symbols
src/splits.rs9 symbols
src/life.rs9 symbols
src/balls.rs8 symbols
src/ant.rs8 symbols
src/tunnel.rs7 symbols
src/bubble.rs6 symbols
src/utils.rs5 symbols
src/main.rs3 symbols

For agents

$ claude mcp add terminal-toys \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page