LinuxCommandLibrary

cbonsai

animated ASCII art bonsai tree generator

TLDR

Generate random bonsai tree

$ cbonsai
copy
Live animation mode
$ cbonsai --live
copy
Screensaver mode
$ cbonsai --screensaver
copy
Infinite mode
$ cbonsai --infinite
copy
Add message
$ cbonsai -m "[Your message]"
copy
Enable color and birds
$ cbonsai --color --birds
copy
Set animation speed
$ cbonsai -l -t [0.05]
copy

SYNOPSIS

cbonsai [options]

DESCRIPTION

cbonsai generates procedurally created ASCII art bonsai trees in the terminal. Each run produces a unique tree using randomized growth algorithms, and a seed value can be specified for reproducibility.
The tool supports live animation of tree growth, infinite mode for continuous generation, and a screensaver mode that combines both. Written in C using ncurses, it also supports color output, decorative birds, and custom messages displayed alongside the tree.

PARAMETERS

-l, --live

Animate tree growth continuously
-i, --infinite
Keep growing new trees
-S, --screensaver
Live + infinite, exit on keypress
-m msg, --message msg
Display message next to tree
-c, --color
Enable color output
-b, --birds
Show animated birds
-t time, --time time
Animation delay in seconds
-s seed, --seed seed
Random seed for reproducibility
-M mult, --multiplier mult
Growth multiplier
-L life, --life life
Starting life value
-p, --print
Print tree and exit (no ncurses)

CAVEATS

Requires ncurses library. Color support depends on terminal capabilities.

SEE ALSO

cmatrix(1), sl(1), cowsay(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community