In Operation
Here’s example output from running the command $ pybonsai
PyBonsai supports four different tree types: Classic, Fibonacci, Offset Fibonacci, and Random Fibonacci. By default the program uses a random tree type, but this can be overridden.
There are lots of other configuration options available. Here’s a short outline:
- Choose a seed for the random number generator
- Instant mode – the finished tree is displayed immediately.
- Wait – time delay between drawing characters..
- Branch characters – string of characters randomly chosen for the branches.
- Leaf characters – string of characters randomly chosen for the leaves
- Define the maximum width and height of the tree.
- Define the length of the root branch,.
- Define the length of each leaf.
- Define the number of branch layers.
- Set the mean angle of branches to their parent.
- Fixed window option.
Summary
PyBonsai is a lovely addition to our Linux Candy series. PyBonsai trees look more like trees you find in a forest.
PyBonsai uses ANSI escape codes for colouring characters. Almost all modern terminals are supported.
Website: github.com/Ben-Edwards44/PyBonsai
Support:
Developer: Ben Edwards
License: MIT License
PyBonsai is written in Python. Learn Python with our recommended free books and free tutorials.
Pages in this article:
Page 1 – Introduction and Installation
Page 2 – In Operation and Summary
Complete list of articles in this series:
Linux Candy | |
---|---|
ASCIIQuarium | Embrace marine life from the terminal with beautiful ASCII art |
ASCII Art Converter | A small utility that converts images into ASCII art |
BobRossQuotes | Collection of quotes from Bob Ross |
Boxes | Command line ASCII boxes |
Buoh | Online strips comics reader |
cacafire | Color ASCII fire |
catclock | xclock with an enhanced cat mode |
cbonsai | Generate bonsai trees in the terminal |
christmasfetch | Festive cheer on the desktop |
chucknorris | Chuck Norris jokes in your terminal |
cornyjokes | Corny jokes for the terminal |
CMatrix | ncurses program that simulates the display from “The Matrix” |
ctree | A Christmas tree right on your terminal |
eDEX-UI | Sci-fi computer terminal emulator and system monitor |
emoj | Simple tool that to find suitable emojis for pasting to your clipboard |
Emote | Modern popup emoji picker |
Evolvotron | Interactive generative art |
Fantascene | Dynamic wallpaper changer |
Fondo | Find beautiful wallpapers from Unsplash |
gti | Typo-based curio inspired by Steam Locomotive |
Hollywood | Fill your console with Hollywood melodrama technobabble |
linuxwave | Generate music from the entropy of Linux |
lolcat | Rainbows and unicorns |
No More Secrets | Recreates the data decryption effect from the Sneakers movie |
nook | Plays Animal Crossing hourly themes on the hour |
nyancat | Terminal-based Pop Tart Cat Animation |
oneko | Animal chasing fun |
pipes.sh | Animated pipes terminal screensaver |
ponysay | cowsay reimplemention for ponies |
projectM | Music visualizer originally based on Milkdrop |
pscircle | A different take on the venerable ps command |
PyBonsai | Generates procedural ASCII art trees |
pyjokes | One line jokes for programmers |
Pywal | Generate color schemes on the fly |
Relaxator | Relax to soothing sounds |
Rusty Aquarium | Monitoring by visualization |
Steam Locomotive | C program written in 295 lines. It's harmless fun |
Ternimal | Animated lifeform in the terminal |
terminal-parrot | Party parrot time |
tetris | Tile-matching puzzle video game in your terminal |
Variety | Wallpaper manager with many desktops and wallpaper sources |
WallGen | Generate HQ poly wallpapers with a few arguments. |
WallpaperDownloader | Download, change, and manage wallpapers |
xcowsay | Displays a cow on your desktop with message |
XDecorations | Add some festive cheer to your desktop |
XScreenSaver | Framework and collection of screensavers |