Art
Bonsai and maple
Two trees that are grown when animfetch starts, move in the wind, drop their leaves and answer your commands.
The other animations are folders of frames. These two are not: a tree is grown when animfetch starts, then moves. Its leaves ripple and fall and the grass leans in the wind.
animfetch --pin -a bonsai # a new tree every time
animfetch --pin -a bonsai --form kengai # in a style of your choosing
animfetch --pin -a bonsai --seed 42 # the same tree every time
animfetch --set bonsai # make it the default
animfetch --pin -a maple # a spreading maple instead
animfetch --pin -a bonsai --leaves sakura # any leaf colour on eitherThere are two trees. The bonsai is a trunk on a mossy rock, in one of eleven styles. The maple stands in the ground among its fallen leaves: a short trunk that divides low into climbing, forking limbs under a broad crown.
Choose one from animfetch animation, under the trees sort. See
Animations.
Leaf colour#
--leaves (or bonsai_leaves) colours either tree:
| Value | |
|---|---|
auto | The default: pine on a bonsai, maple on a maple. A theme picks the one nearest its accent. |
pine juniper matcha mint | Greens. |
maple autumn gold | Reds, oranges and yellow. |
sakura blush rose peach coral | Pinks and warm tones. |
lavender violet sky white | Purples, blue and white. |
The bonsai's style#
--form (or bonsai_form) is random (the default, which invents a trunk),
moyogi, chokkan, shakan, fukinagashi, sokan, hokidachi, ishitsuki,
nejikan, hankengai, kengai or bunjin. A maple has no use for it.
--seed (or bonsai_seed) keeps one tree: the same number grows the same tree.
0, the default, grows a new one every time.
It answers your commands#
Default mode (animfetch) | --pin | |
|---|---|---|
| A command succeeds | A breeze | A breeze |
| A command fails | Leaves shaken loose | A breeze |
Typing regrow | A new tree | Run animfetch --pin -a bonsai again |
A pinned fetch cannot know how a command ended, and does not read your keyboard. It notices that a command finished, so one quicker than a frame goes unseen.
Pictures or text#
In kitty, WezTerm and Ghostty a tree is drawn in real pixels. Elsewhere, including inside tmux, it is drawn with blocks of text, which keeps the shape and loses the detail, and needs truecolor.
bonsai_render = "cells" forces the text form and "image" forces the pixels.
Either way a tree takes up to 60 by 20 cells and ignores --style; --width and
--height make it smaller.
Config keys#
bonsai_form = "random" # random, moyogi, chokkan, shakan, ...
bonsai_leaves = "auto" # auto, pine, sakura, ...
bonsai_seed = 0 # 0 grows a new tree every time
bonsai_render = "auto" # auto, image or cellsEvery bonsai_ setting applies to both trees, except bonsai_form. The trees
and the leaf colours are ported from
Nozomi.